Description Usage Arguments See Also Examples
Information describing the fitted cox.dynamic.ridge
object.
1 2 |
x |
a |
... |
optional arguments passed to print.default; see the documentation on that method function. |
1 2 3 4 5 6 7 8 9 10 11 12 | data(GBSG)
attach(GBSG)
X <- cbind(age,grade)
R <- cbind(tumsize,posnodal,prm,esm)
X <- apply(X,2,function(x){(x-mean(x))/sqrt(var(x))}) #standardize covariates
R <- apply(R,2,function(x){(x-mean(x))/sqrt(var(x))}) #standardize covariates
Ft <- cbind(rep(1,nrow(X)),bs(rfst))
# a model with all covariates as time varying, simple penalty
fit.dr <- Dynamic.Ridge(rfst,cens,cbind(X,R),Ft=Ft,lambda=10,fun="simple",lambdaFixed=TRUE)
fit.dr
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.