Learn R Programming

⚠️There's a newer version (2.8.0) of this package.Take me there.

projpred (version 2.0.2)

Projection Predictive Feature Selection

Description

Performs projection predictive feature selection for generalized linear models and generalized linear and additive multilevel models (see, Piironen, Paasiniemi and Vehtari, 2020, , Catalina, Brkner and Vehtari, 2020, ). The package is compatible with the 'rstanarm' and 'brms' packages, but other reference models can also be used. See the package vignette for more information and examples.

Copy Link

Version

Install

install.packages('projpred')

Monthly Downloads

1,863

Version

2.0.2

License

GPL-3

Maintainer

Alejandro Catalina

Last Published

October 28th, 2020

Functions in projpred (2.0.2)

break_up_matrix_term

Sometimes there can be terms in a formula that refer to a matrix instead of a single predictor. Because we can handle search_terms of predictors, this function breaks the matrix term into individual predictors to handle separately, as that is probably the intention of the user.
project

Projection to submodels
extend_family

Add extra fields to the family object.
summary.vsel

Summary statistics related to variable selection
varsel

Variable selection for generalized linear models
extra-families

Extra family objects.
plot.vsel

Plot summary statistics related to variable selection
mesquite

Mesquite data set.
projpred

Projection predictive feature selection
get-refmodel

Get reference model structure
reexports

Objects exported from other packages
cv_varsel

Cross-validated variable selection (varsel)
solution_terms

Recovers solution path from a variable selection object.
suggest_size

Suggest model size
predict.refmodel

Predict method for reference model objects
df_binom

Binomial toy example.
do_call

Execute a Function Call
df_gaussian

Gaussian toy example.
print-vsel

Print methods for vsel/vsel objects
helper_formula

Utilities to handle formulas for the external user
cv-indices

Create cross-validation indices
proj-pred

Extract draws of the linear predictor and draw from the predictive distribution of the projected submodel