plot.cvregsem function

Plot function for cv_regsem

Plot function for cv_regsem

## 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

Returns

Plot of parameter estimates across penalties

  • Maintainer: Ross Jacobucci
  • License: GPL (>= 2)
  • Last published: 2023-06-02