smcure: Title

View source: R/smcure.R

smcureR Documentation

Title

Description

Title

Usage

smcure(
  formula,
  cureform,
  offset = NULL,
  data,
  na.action = na.omit,
  model = c("aft", "ph"),
  link = "logit",
  Var = TRUE,
  emmax = 50,
  eps = 1e-07,
  nboot = 100
)

Arguments

formula

a formula object

cureform

specifies the variables in the incidence

offset

variable(s) with coefficient 1 in PH model or AFT model

data

a data.frame in which to interpret the variables named in the formula and cureform

na.action

a missing-data filter function. By default na.action = na.omit

model

specifies your model ph or aft

link

incidence part

Var

By default Var = TRUE

emmax

maximum iteration number

eps

convergence criterion

nboot

number of bootstrap sampling

Value

a smcure object

Examples

data(e1684)
pd <- smcure(Surv(FAILTIME,FAILCENS)~TRT+SEX+AGE,
cureform=~TRT+SEX+AGE,data=e1684,model="ph",
Var = FALSE)
printsmcure(pd,Var = FALSE)

smcure documentation built on May 9, 2022, 9:08 a.m.

Related to smcure in smcure...