Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed May 10, 2024
1 parent 858612a commit cf96c2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/t_test.R
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ t_test <- function(data,
.calculate_weighted_ttest <- function(dv, grp, mu, paired, alternative, weights, group_labels, data_name) {
insight::check_if_installed("datawizard")
if (is.null(grp)) {
dat <- stats::na.omit(data.frame(dv, weights))
colnames(dat) <- c("y", "w")
x_values <- dv
x_weights <- weights
y_values <- NULL
Expand Down
1 change: 1 addition & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ reference:
- chi_squared_test
- kruskal_wallis_test
- mann_whitney_test
- t_test
- var_pop

- title: "Tools for Regression Models"
Expand Down

0 comments on commit cf96c2e

Please sign in to comment.