timeROChelper: timeROChelper: Helper function for timerocModule

Description Usage Arguments Details Value See Also Examples

View source: R/timeroc.R

Description

Helper function for timerocModule

Usage

1
2
3
4
5
6
7
8
9
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

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

leevenstar/jstest documentation built on Dec. 23, 2021, 12:16 a.m.