survNomogram: The survival nomogram R6 class

Description Methods

Description

create a R6 class for survival nomogram analysis

Methods

Public methods


Method new()

Usage
survNomogram$new(
  time,
  event,
  TimeInterval = c(12, 24, 36),
  funLabel = c("1-Years Survival Probability", "2-Years Survival Probability",
    "3-Years Survival Probability")
)

Method run()

Usage
survNomogram$run(dt, restep = F)

Method figure()

Usage
survNomogram$figure(dt, outName)

Method predict()

Usage
survNomogram$predict(dt)

Method clone()

The objects of this class are cloneable with this method.

Usage
survNomogram$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


yzhizai/doSurvival documentation built on Dec. 23, 2021, 9:11 p.m.