View source: R/smoothSurvReg.fit.R
smoothSurvReg.fit | R Documentation |
Fit the survival regression model with smoothed error distribution. This function is not to be called by the user.
smoothSurvReg.fit(x, z, y, offset = NULL, correctlik, init, controlvals, common.logscale)
x |
A covariate matrix. |
z |
A covariate matrix for log(scale). |
y |
A two- or three- column matrix with response. The last column
indicate the type of censoring. See |
offset |
A vector with possible offset term. |
correctlik |
Correction term to the likelihood due to the log transformation of the response. |
init |
A list with components |
controlvals |
A list returned by |
common.logscale |
Indicator (TRUE/FALSE) indicating whether the log-scale is same for all observations or whether it depends on covariates. |
A list with components regres, spline, loglik, aic,
degree.smooth, var, var2, dCdC,
iter, estimated, warning, fail, H, I, G, U
.
WARNING: Most users will call the higher level routine smoothSurvReg. Consequently, this function has very few error checks on its input arguments.
Arnošt Komárek arnost.komarek@mff.cuni.cz
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.