extractAlignmentSim: Extracts summaries of alignment simulations from Mplus output...

View source: R/extractAlignmentSim.R

extractAlignmentSimR Documentation

Extracts summaries of alignment simulations from Mplus output file

Description

Extracts summaries of alignment simulations from Mplus output file

Usage

extractAlignmentSim(
  sim.outputs = c("sim500.out", "sim100.out", "sim1000.out"),
  silent = FALSE,
  manual = F,
  adjust = T
)

Arguments

sim.outputs

a character vector of file names containing simulation results of alignment ran in Mplus.

silent

Logical. Used for debugging.

manual

logical. If TRUE, correlations between population and estimated values are computed using the saved values (MONTECARLO:RESULTS = filename.txt should be in the Mplus input), if FALSE, the correlations are extracted from the Mplus output.

adjust

logical. Whether correlations should be adjusted using Fisher transformation (more accurate) or not (default in Mplus). Only makes sense when manual = TRUE.

Details

Best used as part of runAlignment. To match the Mplus output, the correlations are not adjusted for non-normality when averaging; when manual and adjusted, correlations are first Fisher-transformed, then averaged, then transformed back to r metric.

Value

Invisibly returns a summary table.

See Also

runAlignment and extractAlignment

Examples

## Not run:   
     align.sim.summ <- extractAlignmentSim (c("sim500.out", "sim100.out", "sim1000.out")) 
     
## End(Not run)


MaksimRudnev/MIE.package documentation built on Nov. 3, 2024, 3:17 p.m.