plot.mldfm {FARS}R 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.


[Package FARS version 0.5.0 Index]