Learn R Programming

CoxRidge (version 0.9.2)

print.cox.ridge: Print a cox.ridge object.

Description

Information describing the fitted cox.ridge object.

Usage

"print"(x,...)

Arguments

x
a cox.ridge object.
...
optional arguments passed to print.default; see the documentation on that method function.

See Also

cox.ridge.

Examples

Run this code

data(ova)
attach(ova)
X <- cbind(karn,diam,figo)
X <- apply(X,2,function(x){(x-mean(x))/sqrt(var(x))})#standardize covariates
fit <- cox.ridge(Surv(time,death)~X,lambda=1,lambdaFixed=TRUE)
fit ##regression coefficients correspond to the standardized covariates
          

Run the code above in your browser using DataLab