inst/tests/rcspline.plot.r

library(Hmisc)
require(survival)
data(pbc)

with(pbc, 
     rcspline.plot(age, time, model="cox",event=status %in% 1:2, nk=5, show="xbeta",
              showknots=TRUE, plotcl=TRUE, lty=1)
)
harrelfe/Hmisc documentation built on April 2, 2024, 5:14 p.m.