| objective_init | R Documentation |
Calculates the objective function based on the matrices stored in the init object.
objective_init(init_object, lambda, weights)
init_object |
List object containing matrices |
lambda |
Scalar for spatial smoothing |
weights |
Matrix with weights |
Returns the value of the objective function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.