Skip to contents

Show the results in probability scale

Usage

mplus.print.results.in.probability.scale(file, invariance = 0)

Arguments

file

the quoted name of an existing H5 file

invariance

0 (not invariance model, default)

Value

A data frame containing the results in the probability scale

Examples


ex5_5 <- system.file("extdata", "ex5_5.h5", package = "mplush5")
prob_results <- mplus.print.results.in.probability.scale(ex5_5)
prob_results
#>    Variable   Category  Estimate
#> 1        U1 Category 1 0.4250059
#> 2        U1 Category 2 0.5749941
#> 3        U2 Category 1 0.4109916
#> 4        U2 Category 2 0.5890085
#> 5        U3 Category 1 0.4311884
#> 6        U3 Category 2 0.5688116
#> 7        U4 Category 1 0.4347213
#> 8        U4 Category 2 0.5652787
#> 9        U5 Category 1 0.4091431
#> 10       U5 Category 2 0.5908569
#> 11       U6 Category 1 0.3998044
#> 12       U6 Category 2 0.6001956
#> 13       U7 Category 1 0.4108735
#> 14       U7 Category 2 0.5891265
#> 15       U8 Category 1 0.4150093
#> 16       U8 Category 2 0.5849907
#> 17       U9 Category 1 0.4110645
#> 18       U9 Category 2 0.5889354
#> 19      U10 Category 1 0.4071685
#> 20      U10 Category 2 0.5928315
#> 21      U11 Category 1 0.6123465
#> 22      U11 Category 2 0.3876535
#> 23      U12 Category 1 0.6129342
#> 24      U12 Category 2 0.3870658
#> 25      U13 Category 1 0.5948499
#> 26      U13 Category 2 0.4051501
#> 27      U14 Category 1 0.5613536
#> 28      U14 Category 2 0.4386464
#> 29      U15 Category 1 0.5612912
#> 30      U15 Category 2 0.4387088
#> 31      U16 Category 1 0.5829657
#> 32      U16 Category 2 0.4170343
#> 33      U17 Category 1 0.6165692
#> 34      U17 Category 2 0.3834308
#> 35      U18 Category 1 0.5905689
#> 36      U18 Category 2 0.4094311
#> 37      U19 Category 1 0.6413936
#> 38      U19 Category 2 0.3586064
#> 39      U20 Category 1 0.5946469
#> 40      U20 Category 2 0.4053531