R/test_helpers.R

Defines functions get_std

get_std <- function(object) {
  tmp <- lavaan::standardizedSolution(object,
                                      se = FALSE)
  pnames <- lavaan::lav_partable_labels(tmp)
  out <- tmp$est.std
  names(out) <- pnames
  out
}

Try the semboottools package in your browser

Any scripts or data that you put into this service are public.

semboottools documentation built on April 4, 2025, 12:49 a.m.