summary.mplustree: Summarizing MplusTrees model Fits

View source: R/summary.mplustree.R

summary.mplustreeR Documentation

Summarizing MplusTrees model Fits

Description

summary method for class "mplustree".

Usage

## S3 method for class 'mplustree'
summary(object, ...)

Arguments

object

An object of class "mplustree" (a fitted Mplus Tree)

...

Other arguments passed to or from other methods

Details

Prints the tree structure given in object

Examples

## Not run: 
library(lavaan)

script = mplusObject(
   TITLE = "Example #1 - Factor Model;",
   MODEL = "f1 BY x1-x3; f2 BY x4-x6; f3 BY x7-x9;",
   usevariables = c('x1','x2','x3','x4','x5','x6','x7','x8','x9'),
   rdata = HolzingerSwineford1939)

fit = MplusTrees(script, HolzingerSwineford1939, group=~id,
   rPartFormula=~sex+school+grade, control=rpart.control(cp=.01))

summary(fit)

## End(Not run)

MplusTrees documentation built on Oct. 11, 2022, 5:07 p.m.