Package: statsExpressions 2.0.0

statsExpressions: Tidy Dataframes and Expressions with Statistical Details

Utilities for producing dataframes with rich details for the most common types of statistical approaches and tests: parametric, nonparametric, robust, and Bayesian t-test, one-way ANOVA, correlation analyses, contingency table analyses, and meta-analyses. The functions are pipe-friendly and provide a consistent syntax to work with tidy data. These dataframes additionally contain expressions with statistical details, and can be used in graphing packages. This package also forms the statistical processing backend for 'ggstatsplot'. References: Patil (2021) <doi:10.21105/joss.03236>.

Authors:Indrajeet Patil [cre, aut, cph]

statsExpressions_2.0.0.tar.gz
statsExpressions_2.0.0.zip(r-4.7)statsExpressions_2.0.0.zip(r-4.6)statsExpressions_2.0.0.zip(r-4.5)
statsExpressions_2.0.0.tgz(r-4.6-any)statsExpressions_2.0.0.tgz(r-4.5-any)
statsExpressions_2.0.0.tar.gz(r-4.7-any)statsExpressions_2.0.0.tar.gz(r-4.6-any)
statsExpressions_2.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
statsExpressions/json (API)

# Install 'statsExpressions' in R:
install.packages('statsExpressions', repos = c('https://indrajeetpatil.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/indrajeetpatil/statsexpressions/issues

Pkgdown/docs site:https://www.indrapatil.com

Datasets:
  • bugs_long - Tidy version of the "Bugs" dataset.
  • iris_long - Edgar Anderson's Iris Data in long format.
  • movies_long - Movie information and user ratings from IMDB.

On CRAN:

Conda:

bayesian-inferencebayesian-statisticscontingency-tablecorrelationeffectsizemeta-analysisparametricrobustrobust-statisticsstatistical-detailsstatistical-teststidy

11.42 score 313 stars 5 packages 176 scripts 8.9k downloads 1 mentions 15 exports 102 dependencies

Last updated from:f6ca16f045. Checks:8 OK, 1 FAIL. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK299
source / vignettesOK284
linux-release-x86_64OK299
macos-release-arm64OK170
macos-oldrel-arm64OK138
windows-develOK232
windows-releaseOK248
windows-oldrelOK208
wasm-releaseFAIL183

Exports:add_expression_colcentrality_descriptioncontingency_tablecorr_testextract_stats_typelong_to_wide_convertermeta_analysisone_sample_testoneway_anovapairwise_comparisonspairwise_contingency_tablestats_type_switchtidy_model_expressionstidy_model_parameterstwo_sample_test

Dependencies:abindafexbackportsBayesFactorbayestestRbootbroomBWStestcachemcarcarDataclicodacolorspacecontfraccorrelationcowplotcpp11datawizardDerivdescdeSolvedoBydplyreffectsizeellipticfarverfastmapforecastFormulafracdiffgenericsggplot2gluegmpgtablehypergeoinsightisobandkSampleslabelinglatticelifecyclelme4lmerTestlmtestmagrittrMASSMatrixMatrixModelsmemoisemgcvminqamodelrmultcompViewmvtnormnlmenloptrnnetnumDerivparameterspbapplypbkrtestperformancepillarpkgconfigplyrPMCMRpluspurrrquantregR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRcppParallelRdpackreformulasreshapereshape2rlangRmpfrrstantoolsS7scalesSparseMstringistringrSuppDistssurvivaltibbletidyrtidyselecttimeDateurcautf8vctrsviridisLitewithrWRS2zoo

statsExpressions: R Package for Tidy Dataframes and Expressions with Statistical Details
Summary | Statement of Need | Comparison to Other Packages | Consistent Syntax for Statistical Analysis | Tidy Dataframes from Statistical Analysis | Custom Statistical Workflows | Pairwise comparisons with automatic p-value adjustment | Chaining multiple tests and adjusting p-values | Generating formatted expressions from custom results | Expressions for Plots | Licensing and Availability | Acknowledgements | References

Last update: 2026-04-22
Started: 2021-12-13

Test and effect size details
Introduction | Data requirements | Summary of functionality | Summary of tests and effect sizes | centrality_description() | oneway_anova() | two_sample_test() | one_sample_test() | corr_test() | contingency_table() | meta_analysis() | Effect size interpretation | References | Suggestions

Last update: 2026-04-22
Started: 2019-08-15