Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed May 7, 2024
1 parent 0bbfd3c commit 0f18b44
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ export(weighted_correlation)
export(weighted_mannwhitney)
export(weighted_mean)
export(weighted_median)
export(weighted_ranktest)
export(weighted_sd)
export(weighted_se)
export(weighted_ttest)
Expand Down
5 changes: 5 additions & 0 deletions R/wtd_mwu.R
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,8 @@ weighted_mannwhitney_helper <- function(dat, vars) {

mw
}


#' @rdname weighted_sd
#' @export
weighted_ranktest <- weighted_mannwhitney.formula
4 changes: 2 additions & 2 deletions R/wtd_sd.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
#' \cr \cr
#' \code{weighted_ttest()} computes a weighted t-test, while \code{weighted_mannwhitney()}
#' computes a weighted Mann-Whitney-U test or a Kruskal-Wallis test
#' (for more than two groups). \code{weighted_chisqtest()} computes a weighted
#' Chi-squared test for contigency tables.
#' (for more than two groups). `weighted_ranktest()` is an alias for `weighted_mannwhitney()`.
#' \code{weighted_chisqtest()} computes a weighted Chi-squared test for contingency tables.
#'
#' @param x (Numeric) vector or a data frame. For \code{survey_median()}, \code{weighted_ttest()},
#' \code{weighted_mannwhitney()} and \code{weighted_chisqtest()} the bare (unquoted) variable
Expand Down
7 changes: 5 additions & 2 deletions man/weighted_sd.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0f18b44

Please sign in to comment.