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
This is somewhat linked to #23. When retrieving the full output with detailed = TRUE, it should return the correct method.
For example, the distinction between T-test and Welch T-test does matter. This information is provided through the underlying function.
This would be especially useful when writing one's paper or report using markdown because you can easily extract the method automatically rather than manually editing the file. This is not a problem for one test, but if one runs several comparisons with different methods, it could become confusing quickly.
I can see how it might be an easy fix since you likely already use method to generate the tibble output. Certianly nothing major as long as you know what you are doing, but maybe more an 'enhancement' rather than an 'issue' 😉
library(rstatix)
#> #> Attaching package: 'rstatix'#> The following object is masked from 'package:stats':#> #> filter# T-Testdf<-ToothGrowthdf %>% t_test(len~supp,
var.equal=TRUE,
detailed=TRUE) %>%
select(method)
#> # A tibble: 1 × 1#> method#> <chr> #> 1 T-test# Welch T-testdf %>% t_test(len~supp,
var.equal=FALSE,
detailed=TRUE) %>%
select(method)
#> # A tibble: 1 × 1#> method#> <chr> #> 1 T-test# The method of underlying function test<- t.test(len~supp,
var.equal=FALSE,
data=df)
test$method#> [1] "Welch Two Sample t-test"
PS: The same is true for some other functions too, e.g. 'wilcoxon_test(paired = FALSE)' should be 'Mann-Whitney U', etc.
The text was updated successfully, but these errors were encountered:
This is somewhat linked to #23. When retrieving the full output with
detailed = TRUE
, it should return the correct method.For example, the distinction between
T-test
andWelch T-test
does matter. This information is provided through the underlying function.This would be especially useful when writing one's paper or report using markdown because you can easily extract the method automatically rather than manually editing the file. This is not a problem for one test, but if one runs several comparisons with different methods, it could become confusing quickly.
I can see how it might be an easy fix since you likely already use
method
to generate the tibble output. Certianly nothing major as long as you know what you are doing, but maybe more an 'enhancement' rather than an 'issue' 😉PS: The same is true for some other functions too, e.g. 'wilcoxon_test(paired = FALSE)' should be 'Mann-Whitney U', etc.
The text was updated successfully, but these errors were encountered: