build.psm.regression.model: Build parametric survival model

build.psm.regression.modelR Documentation

Build parametric survival model

Description

Build parametric survival model

Usage

build.psm.regression.model(
  d.frame,
  status,
  time,
  seed = 666,
  scale = TRUE,
  time.point = 36
)

Arguments

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

Examples

# 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)

ProfessionalFarmer/loonR documentation built on Oct. 9, 2024, 9:56 p.m.