cp_thrs_LLS | R Documentation |
Produces a vector of threshold values that define active predictors.
cp_thrs_LLS(dv, ivs, fam)
dv |
numeric vector or factor of dependent variable values |
ivs |
|
fam |
character vector of length 1 storing the description of the error distribution and link function to be used in the model (see |
numeric vector of log-likelihood value from all of the univariate GLM models regressing dv
on each column of ivs
.
Edoardo Costantini, 2023
# Example inputs
dv <- mtcars[, 1]
ivs <- mtcars[, -1]
fam <- "gaussian"
# Use function
cp_thrs_LLS(dv, ivs, fam)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.