Learn R Programming

nlsem (version 0.8-1)

anova: Anova Tables

Description

Calculate likelihood ratio tests to compare two or more structural equation models.

Usage

# S3 method for emEst
anova(object, ..., test = c("Chisq", "none"))

Value

Returns an object of class codeanova. These objects represent analysis-of-variance and analysis-of-deviance tables. It is not implemented for a single argument.

Arguments

object

estimated structural equation model of class emEst.

...

additional objects of the same type.

test

a character string, (partially) matching one of `Chisq' or `none'. Should the p-values of the chi-square distributions be reported?