summary.mplusObject: Summarize an mplusObject

Description Usage Arguments Value Author(s) See Also Examples

View source: R/methods.R

Description

This is a method for summarizing an mplusObject.

Usage

1
2
## S3 method for class 'mplusObject'
summary(object, verbose = FALSE, ...)

Arguments

object

An object of class mplusObject

verbose

Logical whether to print verbose output. Defaults to FALSE.

...

Additional arguments to pass on (not currently used)

Value

NULL Called for its side effect of printing a model summary to the console

Author(s)

Joshua F. Wiley <[email protected]>

See Also

Other Mplus-Formatting: coef.mplus.model, confint.mplus.model, extract, print.MplusRstructure

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
## Not run: 
# simple example of a model using builtin data
# demonstrates use
test <- mplusObject(
  TITLE = "test the MplusAutomation Package;",
  MODEL = "
    mpg ON wt hp;
    wt WITH hp;",
  usevariables = c("mpg", "wt", "hp"),
  rdata = mtcars)

 res <- mplusModeler(test, "mtcars.dat", modelout = "model1.inp", run = 1L)

# example of the summary method
summary(res)

# example of verbose output
summary(res, verbose=TRUE)

# remove files
unlink("mtcars.dat")
unlink("model1.inp")
unlink("model1.out")
unlink("Mplus Run Models.log")

## End(Not run)

MplusAutomation documentation built on Nov. 25, 2018, 5:04 p.m.