plot.mldfm: Plot method for MLDFM object

View source: R/plot.mldfm.R

plot.mldfmR Documentation

Plot method for MLDFM object

Description

Dispatches to specific plot functions for factors, loadings, or residuals.

Usage

## S3 method for class 'mldfm'
plot(x, which = "factors", dates = NULL, var_names = NULL, ...)

Arguments

x

An object of class mldfm.

which

What to plot: one of "factors" (default), "loadings", or "residuals".

dates

Optional vector of dates (as Date or zoo::yearqtr) to use for the x-axis. If not provided, a simple index (1:N) is used.

var_names

Optional vector of variable names to label loadings and residual axis.

...

Additional arguments (ignored)

Value

No return value. Called for plots generation.


FARS documentation built on Aug. 8, 2025, 7:33 p.m.