cox_obj_function | R Documentation |
Returns the elastic net objective function value for Cox regression model.
cox_obj_function(
y,
pred,
weights,
lambda,
alpha,
coefficients,
vp,
view_components,
rho
)
y |
Survival response variable, must be a |
pred |
Model's predictions for |
weights |
Observation weights. |
lambda |
A single value for the |
alpha |
The elasticnet mixing parameter, with |
coefficients |
The model's coefficients. |
vp |
Penalty factors for each of the coefficients. |
view_components |
a list of lists containing indices of coefficients and associated covariate (view) pairs |
rho |
the fusion parameter |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.