tests/select.parfm.R

library(parfm)
data(kidney)
kidney$sex <- kidney$sex - 1

plot(select.parfm(Surv(time,status) ~ sex + age, 
                   dist=c("exponential", "gompertz", "lognormal"),
                   frailty=c("gamma", "possta"),
                   cluster="id", data=kidney))

Try the parfm package in your browser

Any scripts or data that you put into this service are public.

parfm documentation built on May 2, 2019, 5 p.m.