Description Usage Arguments Details Value Author(s) Examples
print method for objects of class 'eval.cv'
1 2 |
x |
The object returned from |
digits |
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 method
was 'discrete'
or 'continuous'
. p-values are
printed if perm.test=TRUE
Jyothi Subramanian and Richard Simon
Maintainer: Jyothi Subramanian <subramanianj01@gmail.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.