plot.cvregsem: Plot function for cv_regsem

plot.cvregsemR Documentation

Plot function for cv_regsem

Description

Plot function for cv_regsem

Usage

## S3 method for class 'cvregsem'
plot(
  x,
  ...,
  pars = NULL,
  show.minimum = "BIC",
  col = NULL,
  type = "l",
  lwd = 3,
  h_line = 0,
  lty = 1,
  xlab = NULL,
  ylab = NULL,
  legend.x = NULL,
  legend.y = NULL,
  legend.cex = 1,
  legend.bg = par("bg"),
  grey.out = FALSE
)

Arguments

x

An x from cv_regsem.

...

Other arguments.

pars

Which parameters to plot

show.minimum

What fit index to use

col

A specification for the default plotting color.

type

what type of plot should be drawn. Possible types are "p" for points, "l" for lines, or "b" for both

lwd

line width

h_line

Where to draw horizontal line

lty

line type

xlab

X axis label

ylab

Y axis label

legend.x

x-coordinate of legend. See ?legend

legend.y

y-coordinate of legend. See ?legend

legend.cex

cex of legend. See ?legend

legend.bg

legend background color. See ?legend

grey.out

Add grey to background

Value

Plot of parameter estimates across penalties


Rjacobucci/regsem documentation built on June 3, 2023, 5:20 a.m.