coxFLControl | R Documentation |
coxFL
fitThe values supplied in the function call replace the defaults and a list with all possible arguments is returned. The returned list is used as the control
argument to the coxFL
function.
coxFLControl(start = NULL, index=NULL, q_start = NULL, conv.eps = 1e-3,
standardize = FALSE, center = FALSE,
smooth=list(nbasis = 6, penal = 1e+2),
print.iter = FALSE, max.iter = 100,
exact = NULL, xr = NULL, eps = 1e-3, ...)
start |
a vector of suitable length containing starting values for the spline-coefficients of the baseline hazard and the time-varying effects, followed by the fixed and random effects. The correct ordering is important. Default is a vector full of zeros. |
index |
vector which defines the grouping of the variables. Components sharing the same number build a group and factor variables get a single number (and are automatically treated as a group). Non-penalized coefficients are marked with NA. |
q_start |
a scalar or matrix of suitable dimension, specifying starting values for the random-effects variance-covariance matrix. Default is a scalar 0.1 or diagonal matrix with 0.1 in the diagonal, depending on the dimension of the random effects. |
conv.eps |
controls the speed of convergence. Default is 1e-3. |
smooth |
a list specifying the number of basis functions |
standardize |
logical. If true, the covariates corresponding to the fixed effects will be scaled to a variance equal to one. Default is TRUE. |
center |
logical. If true, the covariates corresponding to the time-varying effects will be centered. Default is FALSE (and centering is only recommended if really necessary; it can also have a strong effect on the baseline hazard, in particular, if a strong penalty is selected). |
print.iter |
logical. Should the number of iterations be printed? Default is FALSE. |
max.iter |
the number of iterations for the final Fisher scoring re-estimation procedure. Default is 200. |
exact |
controls the exactness of the (Riemann) integral approximations. If not set by the user to a specific value, it will be automatically chosen such that the time interval [0,t_max] will be divided in about 1000 equal sized Riemann bars. |
xr |
maximal time point that is regarded. Default is NULL and the maximal event or censoring time point in the data is used. |
eps |
Small epsilon that controls which fixed effects are set to zero: parameters with an absolute value smaller than epsilon are taken to be zero. Default is 1e-3. |
... |
Futher arguments to be passed. |
a list with components for each of the possible arguments.
Andreas Groll groll@math.lmu.de
coxFL
# Use different weighting of the two penalty parts
# and lighten the convergence criterion
coxFLControl(c.app = 1e-5, conv.eps=1e-3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.