Package: ANOFA 0.2.2

ANOFA: Analyses of Frequency Data

Analyses of frequencies can be performed using an alternative test based on the G statistic. The test has similar type-I error rates and power as the chi-square test. However, it is based on a total statistic that can be decomposed in an additive fashion into interaction effects, main effects, simple effects, contrast effects, etc., mimicking precisely the logic of ANOVA. We call this set of tools 'ANOFA' (Analysis of Frequency data) to highlight its similarities with ANOVA. This framework also renders plots of frequencies along with confidence intervals. Finally, effect sizes and planning statistical power are easily done under this framework. The ANOFA is a tool that assesses the significance of effects instead of the significance of parameters; as such, it is more intuitive to most researchers than alternative approaches based on generalized linear models. See Laurencelle and Cousineau (2023) <doi:10.20982/tqmp.19.2.p173>.

Authors:Denis Cousineau [aut, cre], Louis Laurencelle [ctb], Pier-Olivier Caron [ctb]

ANOFA_0.2.2.tar.gz
ANOFA_0.2.2.zip(r-4.7)ANOFA_0.2.2.zip(r-4.6)ANOFA_0.2.2.zip(r-4.5)
ANOFA_0.2.2.tgz(r-4.6-any)ANOFA_0.2.2.tgz(r-4.5-any)
ANOFA_0.2.2.tar.gz(r-4.7-any)ANOFA_0.2.2.tar.gz(r-4.6-any)
ANOFA_0.2.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
ANOFA/json (API)
NEWS

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

Bug tracker:https://github.com/dcousin3/anofa/issues

Pkgdown/docs site:https://dcousin3.github.io

Datasets:

On CRAN:

Conda:

frequenciesstatistics

4.60 score 2 stars 1 scripts 206 downloads 24 exports 53 dependencies

Last updated from:4bb2288ada. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK170
source / vignettesOK176
linux-release-x86_64OK170
macos-release-arm64OK173
macos-oldrel-arm64OK182
windows-develOK220
windows-releaseOK97
windows-oldrelOK86
wasm-releaseOK116

Exports:anofaanofaCountanofaESanofaN2PoweranofaPlotanofaPower2NCI.anofaCountcontrastFrequenciesemFrequenciesexplainGRFhas.cbind.termshas.nested.termsin.formulainit.anofaCountis.formulais.one.sidedsub.formulassummarizetoCompiledtoLongtoRawtoTabulartoWide

Dependencies:base64encbslibcachemclicommonmarkcpp11digestfarverfastmapfontawesomeforeignfsggplot2gluegtablehtmltoolshttpuvisobandjquerylibjsonlitelabelinglaterlifecyclelsrmagrittrMASSmemoisemimeotelplyrpromisesR6rappdirsrbibutilsRColorBrewerRcppRdpackreshape2rlangrrapplyS7sassscalesshinyshinyBSsourcetoolsstringistringrsuperbvctrsviridisLitewithrxtable

ANOFA vs HiLogLinear

Rendered fromRelationsToHiLogLinearModel.Rmdusingknitr::rmarkdownon Jun 01 2026.

Last update: 2025-01-05
Started: 2025-01-04

Confidence intervals with frequencies

Rendered fromConfidenceIntervals.Rmdusingknitr::rmarkdownon Jun 01 2026.

Last update: 2025-01-04
Started: 2023-11-14

Data formats for frequencies

Rendered fromDataFormatsForFrequencies.Rmdusingknitr::rmarkdownon Jun 01 2026.

Last update: 2023-11-14
Started: 2023-11-14

What is Analysis of Frequency Data?

Rendered fromWhatIsANOFA.Rmdusingknitr::rmarkdownon Jun 01 2026.

Last update: 2023-11-14
Started: 2023-11-14

Readme and manuals

Help Manual

Help pageTopics
anofa: analysis of frequency data.anofa
anofaPlot.anofaCount anofaPlot CI.anofaCount init.anofaCount
Computing effect size within the ANOFA.anofaES
Computing power within the ANOFA.anofaN2Power anofaPower2N
contrastFrequencies: contrasts analysis of frequency data.contrastFrequencies
Converting between formatsconversion toCompiled toLong toRaw toTabular toWide
Detergent dataDetergent
emFrequencies: simple effect analysis of frequency data.emFrequencies
explainexplain
Gillet1993Gillet1993
Generating random frequenciesGRF
logical functions for formulashas.cbind.terms has.nested.terms in.formula is.formula is.one.sided sub.formulas
LandisBarrettGalvin2013 dataLandisBarrettGalvin2013
LightMargolin1971 dataLightMargolin1971
minimalExampleminimalExample
summarizesummarize