cp_thrs_PR2 | R Documentation |
Produces a vector of threshold values that define active predictors.
cp_thrs_PR2(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 |
A vector of bivariate association measures between dv
and ivs
.
Edoardo Costantini, 2023
# Example inputs
dv <- mtcars[, 1]
ivs <- mtcars[, -1]
# Use the function
cp_thrs_PR2(dv, ivs, fam = "gaussian")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.