Learn R Programming

rms (version 6.8-2)

importedexported: Exported Functions That Were Imported From Other Packages

Description

Surv and ggplot are imported from, respectively, the survival and ggplot2 packages and are exported from rms so that the user does not have to attach these packages to do simple things.

Usage

Surv(time, time2, event,
     type = c("right", "left", "interval", "counting", "interval2", "mstate"),
     origin = 0)

ggplot(data = NULL, mapping = aes(), ..., environment = parent.frame())

Value

see documentation in the original packages

Arguments

time, time2, event, type, origin

see Surv

data, mapping, ..., environment

see ggplot

See Also

Examples

Run this code
if (FALSE) {
f <- psm(Surv(dtime, death) ~ x1 + x2 + sex + race, dist='gau')
ggplot(Predict(f))
}

Run the code above in your browser using DataLab