From e510af4f8e58264233b0feaf8295f85886ee6817 Mon Sep 17 00:00:00 2001 From: isaactpetersen Date: Mon, 18 Aug 2025 13:33:20 -0500 Subject: [PATCH] 20250818 - fix for https://github.com/alishinski/lavaanPlot/issues/52 --- R/lavaanPlot2.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/R/lavaanPlot2.R b/R/lavaanPlot2.R index d958615..247fba6 100644 --- a/R/lavaanPlot2.R +++ b/R/lavaanPlot2.R @@ -9,7 +9,8 @@ extract_coefs <- function(model, include = NULL, stand = FALSE) { if (stand) { par_table <- lavaan::standardizedSolution(model) %>% - dplyr::mutate(p_val = (1 - stats::pnorm(abs(.data$z))) * 2) + dplyr::mutate(p_val = (1 - stats::pnorm(abs(.data$z))) * 2) %>% + dplyr::mutate(label = "") } else { par_table <- bind_cols(model@ParTable) %>% dplyr::mutate(z = .data$est / .data$se) %>%