importedexported | R Documentation |
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.
Surv(time, time2, event,
type = c("right", "left", "interval", "counting", "interval2", "mstate"),
origin = 0)
ggplot(data = NULL, mapping = aes(), ..., environment = parent.frame())
time , time2 , event , type , origin |
see |
data , mapping , ... , environment |
see |
see documentation in the original packages
Surv
,
ggplot
## Not run:
f <- psm(Surv(dtime, death) ~ x1 + x2 + sex + race, dist='gau')
ggplot(Predict(f))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.