plot_lasso_paths: Plot coefficient paths from LASSO DIF

View source: R/lassoDIF.ABWIC.R

plot_lasso_pathsR Documentation

Plot coefficient paths from LASSO DIF

Description

This function displays coefficient trajectories from LASSO-regularized DIF detection.

Usage

plot_lasso_paths(
  out,
  nr.lambda = 100,
  highlight = NULL,
  title = "Regularization Paths of DIF Effects",
  ...
)

Arguments

out

A fitted object returned by lassoDIF().

nr.lambda

Number of lambda values to evaluate and display (default is 100).

highlight

Optional: indices of items to highlight in color.

title

Main title of the plot.

...

Additional graphical parameters passed to matplot().

Value

A base R plot of coefficient paths.


difR documentation built on Nov. 29, 2025, 9:06 a.m.