Learn R Programming

lpmec (version 1.1.4)

plot.lpmec: Plot method for lpmec objects

Description

Creates visualizations of LPMEC model results. Can plot either the latent variable estimates or the bootstrap distribution of coefficients.

Usage

# S3 method for lpmec
plot(x, type = "latent", ...)

Value

No return value, called for side effects (creates a plot).

Arguments

x

An object of class lpmec returned by lpmec.

type

Character string specifying the plot type. Either "latent" (default) for a scatter plot of split-half latent estimates, or "coefficients" for a density plot of bootstrap coefficient estimates.

...

Additional arguments passed to plot or density.

See Also

lpmec, summary.lpmec, print.lpmec