Learn R Programming

pact (version 0.5.0)

summary.pact: Summarize a predictive model fit

Description

summary method for objects of class 'pact'

Usage

"summary"(object, ...)

Arguments

object
The object returned from 'pact.fit'
...
Additional arguments for 'summary'

Value

All the coefficient estimates from the regression model fitted by pact.fit

Details

Returns all coefficient estimates from the regression model of the 'pact' object

Examples

Run this code
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="none")
summary(p)

Run the code above in your browser using DataLab