build.psm.regression.model | R Documentation |
Build parametric survival model
build.psm.regression.model(
d.frame,
status,
time,
seed = 666,
scale = TRUE,
time.point = 36
)
d.frame |
Data.frame — Row: sample, Column: gene expression |
time |
OS, DFS, RFS et al..... |
seed |
Default 666 |
time.point |
Default 36. Calculate the prob at a specific time point |
# psm (parametric survival model) uses a survival model based on functions and their parameters.
# cph (Cox Proportional Hazards Model and Extensions) is using the cox model (and the Anderson-Gill model) which is based on the hazard functions.
data(LIRI)
res = build.psm.regression.model(LIRI[,3:5],LIRI$status, LIRI$time)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.