Skip to content

Commit

Permalink
Update plot_frq.R
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed May 13, 2024
1 parent 04e87a6 commit 15c2693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/plot_frq.R
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ plot_frq_helper <- function(
stddev <- stats::sd(var.cnt, na.rm = TRUE)
} else {
mittelwert <- stats::weighted.mean(var.cnt, weight.by, na.rm = TRUE)
stddev <- sjstats::weighted_sd(var.cnt, weights = weight.by)
stddev <- datawizard::weighted_sd(var.cnt, weights = weight.by)
}

# If we have boxplots, use different data frame structure
Expand Down

0 comments on commit 15c2693

Please sign in to comment.