multigroup: Multigroup Analysis for Piecewise SEM

View source: R/multigroup.R

multigroupR Documentation

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(s)

Jon Lefcheck <lefcheckj@si.edu>

Examples

data(meadows)

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

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

jutila.multigroup


piecewiseSEM documentation built on June 22, 2024, 9:53 a.m.