Add tadaa_pairwise_tukey while we're at it. Just a thin wrapper for stats::TukeyHSD but with tidied output and usage consistent with the previous tadaa_pairwise_* functions.
Add tadaa_plot_tukey to plot Tukey HSD results as error bars because boy do I like error bars.
Add tadaa_balance as a replacement for tadaa_heatmap to check equality of group sizes.
%>% from magrittr as all the cool kids to these days.
%<>% from magrittr because I happen to really like it.
[sg]et_label[s]and word_wrap from sjmisc, as they're handy.
as_factor from haven as a replacement for the deprecated labels_to_factor.
Tweaks, Patches & Bug Fixes
Is now an alias for theme_readthedown, will probably become the new canonical version.
Now finally adds vertical space to the x axis title via proper margining.
Default type is now 3, for generally safer results and consistency with SPSS.
Added check_contrasts option for type = 3 sums of squares, which ensures each non-ordered factor has contr.sum contrasts
Now auto-factorizes independent variables by default, fixes #24.
Now imports methods, which should fix an issue during knitr or rmarkdown processing where the function is couldn't be found. If not, manually library(methods) as a workaround.
Fix wrong sprinkle labelling causing eta.sq to be formatted like a p-value.
Added show_power argument to calculate power via pwr::pwr.f2.test.
Requires more testing against software like G*power to ensure accuracy.
Internal Levene test now uses center = "median" for more robust results, as it should.
Now also uses $\alpha = 0.05$ instead of $\alpha = 0.1$.
Use new argument var.equal to override internal Levene test.
Power should now be properly reported for alternative = "less" or greater.
Added conf.level argument used for CI and power calculations
Now doesn't return the absolute effect size by default.
Added paired argument so effects for paired tests are now a thing.
Also fix direction argument not being honored.
Gains print (logical) argument to suppress printing if so desired. The output will still be returned invisibly.
tadaa_one_sample: Should make sense now.
Remove na.rm argument from tadaa_t.test and tadaa_wilcoxon because it's problematic, and in case of paired = TRUE it would have produced flat out wrong results.
Improved print = markdown output of tadaa_aov, tadaa_t.test, tadaa_wilcoxon, tadaa_one_sample, tadaa_kruskal. Unfortunately print = "console" now has headers with unparsed $\LaTeX$-expressions, but who uses that anyway.
labels_to_factor: Was a wrapper around haven::as_factor and is obsolete by now, as as_factor can do the same thing this function was built for.
tadaa_likertize is renamed to likertize, deprecated since sjmisc::split_var is probably better anyway.
tadaa_aov now knows about types, uses type 1 by default and can do types 2 and 3.
Method for effect size calculation now uses lsr::etaSquared, which also takes a type argument.
Add tadaa_mean_ci: Plots means with 95% confidence intervals as errorbars (thanks Christoph for the suggestion).
Add tadaa_one_sample: For one-sample t-tests and finally an easy z-test.
Add confint_norm: Helper to get CIs, similar to confint_t
Add tadaa_wilcoxon: For when tadaa_t.test isn't non-parametric enough. Same usage.
Additionally displays medians of each group.
Add tadaa_kruskal: For when tadaa_aov isn't non-parametric enough, too.
Move tadaa_sem ➡ mean_ci_sem because it's more confint than tadaa.
Add show_n option to tadaa_int: Optionally display N in subtitle.
Tweaks, Patches & Bug Fixes
Fix documentation inconsistencies.
Turns out pval_string(0.05) returned < 0.05. Well. That was embarrassing.
Minor tweaks to theme_readthedown regarding text placement.
Remove superfluous variables from ngo: index, zeng, zdeutsch, zmathe.
New function: tadaa_normtest lets you do tests for normality (4 methods) over multiple variables.
New function: tadaa_heatmap generates a heatmap. Mhhh, heatmaps.
New function: tadaa_sem shows the standard error of the mean and it's confidence interval
New function: pval_string as a modification of pixiedust::pvalString that includes p < .05.