Learn R Programming

TransModel (version 1.0)

TransModel.default: Default method for function TransModel.

Description

Default method for function TransModel.

Usage

"TransModel"(formula = formula(data), data = parent.frame(),r=0, CICB.st=FALSE,dx=0.001,iter.max=100,num.sim=200)

Arguments

formula
A survival formula based on Surv function, containg survival time, right censoring indicator and coavariates.
data
Data set with all the variables needed in formula.
r
Parameter in the hazard function, used to define different linear models. See details for more information.
CICB.st
Whether or not the perturbation for the 95% confidence interval and confidence bands will be done. The default value is FALSE.
dx
Upbound of convergence limit. Default is 0.001.
iter.max
Maximum number of iterations before convergence. Default is 100.
num.sim
The number of perturbation, only works when CICB.st=TRUE. Default is 200.