powered by
Collect results of a fitted prodlim object in a data.frame
# S3 method for prodlim as.data.frame(x, ...)
A data.table with the results of the prodlim object
object obtained with function prodlim
prodlim
passed to summary.prodlim
summary.prodlim
Thomas A. Gerds <tag@biostat.ku.dk>
By default object contains results for all fitted time points and all strata. Use arguments times and newdata of summary.prodlim to subset.
set.seed(8) d <- SimCompRisk(17) fit <- prodlim(Hist(time,event)~X1,data=d) as.data.frame.prodlim(fit) as.data.frame.prodlim(fit)
Run the code above in your browser using DataLab