Description Usage Arguments Details Value Author(s) Examples
print method for objects of class 'pact'
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 classification
function from pact.fit
for calculating the predictive scores for new
subjects
The classification function is printed
Jyothi Subramanian and Richard Simon
Maintainer: Jyothi Subramanian <subramanianj01@gmail.com>
1 2 3 4 5 6 7 | 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")
print(p)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.