print method for objects of class 'eval.cv'
The object returned from
significant digits in the print
Additional print arguments
The call that produced the object is printed, followed by the evaluation statistics. The p-values are printed if permutation testing was asked for.
The statistics comparing treatments E and C is printed. The printed statistics differs
according to whether
'continuous'. p-values are
Jyothi Subramanian and Richard Simon
Maintainer: Jyothi Subramanian <email@example.com>
1 2 3 4 5 6 7 8 9
data(prostateCancer) Y <- prostateCancer[,3:4] Xf <- prostateCancer[,7:8] Xv <- prostateCancer[,c(5:6,9)] Treatment <- as.factor(prostateCancer[,2]) p <- pact.fit(Y=Y, Xf=Xf, Xv=Xv, Treatment=Treatment, family="cox", varSelect="lasso") cv <- pact.cv(p, nfold=5) eval <- eval.pact.cv(cv, method="discrete", g=log(0.80)) eval
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.