You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optionally (if argument conf.int is true), a nonparametric confidence interval and an estimator for the pseudomedian (one-sample case) or for the difference of the location parameters x-y is computed.
The text was updated successfully, but these errors were encountered:
Updating the rstatix::wilcox_test() to report an estimator for the pseudomedian (one-sample case) or for the difference of the location parameters x-y. The column estimate and the confidence intervals are now displayed in the test result when the option detailed = TRUE is specified in the wilcox_test() and pairwise_wilcox_test() functions. You can install the dev version using devtools::install_github("kassambara/rstatix")
library(rstatix)
# Data preparation
data("ToothGrowth")
df<-ToothGrowth# Wilcoxon testdf %>% wilcox_test(len~supp)
#> # A tibble: 1 x 7#> .y. group1 group2 n1 n2 statistic p#> * <chr> <chr> <chr> <int> <int> <dbl> <dbl>#> 1 len OJ VC 30 30 576. 0.0645# Detailed results showing the estimator for the difference in locationdf %>% wilcox_test(len~supp, detailed=TRUE)
#> # A tibble: 1 x 12#> estimate .y. group1 group2 n1 n2 statistic p conf.low conf.high#> * <dbl> <chr> <chr> <chr> <int> <int> <dbl> <dbl> <dbl> <dbl>#> 1 4.00 len OJ VC 30 30 576. 0.0645 -0.100 8.50#> # … with 2 more variables: method <chr>, alternative <chr>
Created on 2020-05-07 by the reprex package (v0.3.0.9001)
Optionally (if argument conf.int is true), a nonparametric confidence interval and an estimator for the pseudomedian (one-sample case) or for the difference of the location parameters x-y is computed.
The text was updated successfully, but these errors were encountered: