powered by
tibble
Collect results of a fitted prodlim object in a tibble
as_tibble.prodlim(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.
prodlim, tibble
library(tibble) set.seed(8) d <- SimCompRisk(17) fit <- prodlim(Hist(time,event)~X1,data=d) tibble::as_tibble(fit)
Run the code above in your browser using DataLab