compute_sc | R Documentation |
Compute the systematic component of a GLM of interest.
compute_sc(mod, predictors)
mod |
a fit object returned by one of |
predictors |
matrix or data.frame of predictor values to compute the systematic component based on. |
This function takes different model objects and knows how to treat the coefficient vector (or matrix) to obtain the systematic component.
a matrix of n \times k
, where k
is equal to 1 for all but multi-categorical models. This matrix contains the systematic component values for the provided predictors.
Edoardo Costantini, 2023
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.