Skip to contents

Show the R-square

Usage

mplus.print.rsquare(file, invariance = 0, cluster = FALSE)

Arguments

file

the quoted name of an existing H5 file

invariance

0 (not invariance model, default)

cluster

logical

Value

A data frame containing the R-square is printed

Examples


ex3_1 <- system.file("extdata", "ex3_1.h5", package = "mplush5")
r2 <- mplus.print.rsquare(ex3_1)
r2
#>             Section Statement Estimate       S.E. Estimate/S.E.
#> 1 Observed Variable        Y1 0.609031 0.02729079      22.31635
#>   Two-Tailed P-Value
#> 1                  0