Learn R Programming

TransModel (version 2.3)

TransModel.default: Default method for function TransModel.

Description

Default method for function TransModel.

Usage

# S3 method for default
TransModel(formula = formula(data), data = parent.frame(),r=0,
CICB.st=FALSE,subset,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 transformation models. Must be a non-negative value. The default value is 0.

CICB.st

Whether or not the perturbation for the confidence interval and confidence bands will be done. The default value is FALSE.

subset

Conditions for subsetting the dataset.

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.