plotAdaptiveLassoEst: Plot adaptiveLassoEst

View source: R/estimator_plots.R

plotAdaptiveLassoEstR Documentation

Plot adaptiveLassoEst

Description

plotAdaptiveLassoEst() performs actions specific to plotting the cross-validated risk of the Adaptive LASSO estimator.

Usage

plotAdaptiveLassoEst(dat, switch_vars = FALSE, min_max = FALSE)

Arguments

dat

A data table of cross-validated risks. Specifically, this is the risk_df table output by cvCovEst().

switch_vars

A logical indicating if the x-axis and factor variables should be switched. Default is FALSE.

min_max

A logical. Default is FALSE. If TRUE, only the minimum and maximum values of the factor hyperparameter will be used.

Value

A plot object


cvCovEst documentation built on May 29, 2024, 5:51 a.m.