timeROChelper: timeROChelper: Helper function for timerocModule

View source: R/timeroc.R

timeROChelperR Documentation

timeROChelper: Helper function for timerocModule

Description

Helper function for timerocModule

Usage

timeROChelper(
  var.event,
  var.time,
  vars.ind,
  t,
  data,
  design.survey = NULL,
  id.cluster = NULL
)

Arguments

var.event

event

var.time

time

vars.ind

independent variable

t

time

data

data

design.survey

survey data, Default: NULL

id.cluster

cluster variable if marginal model, Default: NULL

Details

Helper function for timerocModule

Value

timeROC and coxph object

See Also

coxph svycoxph predict timeROC

Examples

# library(survival)
# timeROChelper("status", "time", c("age", "sex"), t = 365, data = lung)

jsmodule documentation built on Oct. 18, 2023, 9:08 a.m.