Skip to contents

Get PSR from an Mplus output file

Usage

get_psr(path, last = TRUE, plot = FALSE)

Arguments

path

Path to an Mplus output file or a directory with several output files

last

Logical. If TRUE (default), returns only the last PSR value, if FALSE, returns a data frame with all PSR values.

plot

Logical. If TRUE, plots the PSR values across iterations. Default is FALSE.

Value

A numeric value (if last=TRUE) or a data frame (if last=FALSE) with PSR values across iterations.