init {icpack} | R Documentation |
Generate a discrete IC object
Description
Generate a discrete IC object
Usage
init(Times, X, nt, tmax, nseg = 20, bdeg = 3, pord = 2, kappa = 1e-06)
Arguments
Times |
The (possibly interval censored) survival data, in a matrix |
X |
The design matrix containing covariates |
nt |
The number of bins for discretization |
tmax |
The end of time domain (default 1.01 times largest observation) |
nseg |
The number of B-spline segments |
bdeg |
The degree of the B-splines |
pord |
The order of the differences used in the penalty |
kappa |
Ridge parameter (number) |
Value
A list with items
data |
List containing the original data as well as the binned data |
bins |
List with information on bins used |
basis |
List containing the B-spline matrix |
start |
List containing information on starting values |
penalty |
List containing Pdiff and Pridge |
control |
List with information on control of B-spline basis |
[Package icpack version 0.1.0 Index]