importexport: Exported Functions That Were Imported From Other Packages

importedexportedR Documentation

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())

Arguments

time, time2, event, type, origin

see Surv

data, mapping, ..., environment

see ggplot

Value

see documentation in the original packages

See Also

Surv, ggplot

Examples

## Not run: 
f <- psm(Surv(dtime, death) ~ x1 + x2 + sex + race, dist='gau')
ggplot(Predict(f))

## End(Not run)

rms documentation built on Sept. 11, 2024, 7:51 p.m.