Learn R Programming

piecewiseSEM (version 2.3.0)

multigroup: Multigroup Analysis for Piecewise SEM

Description

Multigroup Analysis for Piecewise SEM

Usage

multigroup(
  modelList,
  group,
  standardize = "scale",
  standardize.type = "latent.linear",
  test.type = "III"
)

Arguments

modelList

a list of structural equations

group

the name of the grouping variable in quotes

standardize

The type of standardization: none, scale, range. Default is scale.

standardize.type

The type of standardized for non-Gaussian responses: latent.linear, Menard.OE. Default is latent.linear.

test.type

what kind of ANOVA should be reported. Default is type III

Author

Jon Lefcheck <lefcheckj@si.edu>

Examples

Run this code
data(meadows)

jutila <- psem(
lm(rich ~ elev + mass, data = meadows),
lm(mass ~ elev, data = meadows)
)

jutila.multigroup <- multigroup(jutila, group = "grazed")

jutila.multigroup

Run the code above in your browser using DataLab