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
get_comparisons() is a really handy function, although it creates comparisons for all factor levels and not just the ones used in the data (see below). Is this behaviour intentional or can this be fixed?
library(tibble)
library(rstatix)
#> #> Attache Paket: 'rstatix'#> The following object is masked from 'package:stats':#> #> filterfactor_data<- tibble(
groups=factor(c("a", "b"), levels= c("a", "b", "c"))
)
factor_data#> # A tibble: 2 x 1#> groups#> <fct> #> 1 a #> 2 b
get_comparisons(factor_data, groups)
#> $V1#> [1] "a" "b"#> #> $V2#> [1] "a" "c"#> #> $V3#> [1] "b" "c"
The text was updated successfully, but these errors were encountered:
benediktclaus
changed the title
get_comparisons() created comparisons for unused groups
get_comparisons() creates comparisons for unused groups
Sep 10, 2020
get_comparisons() is a really handy function, although it creates comparisons for all factor levels and not just the ones used in the data (see below). Is this behaviour intentional or can this be fixed?
Created on 2020-09-10 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered: