inst/doc/A-WhatIsANOPA.R

## ----echo = FALSE, message = FALSE, results = 'hide', warning = FALSE---------
cat("this will be hidden; use for general initializations.\n")
library(ANOPA)
library(ggplot2)
library(superb)

## ----message = FALSE, warning = FALSE-----------------------------------------
ArticleExample1

## -----------------------------------------------------------------------------
ArticleExample1$nSuccess / ArticleExample1$nParticipants

## -----------------------------------------------------------------------------
w <- anopa( {nSuccess; nParticipants} ~ DistractingTask, ArticleExample1)

## ----message=FALSE, warning=FALSE, fig.width=4, fig.height=3, fig.cap="**Figure 1**. The proportion of illumination as a function of the distracting task. Error bars show difference-adjusted 95% confidence intervals."----
anopaPlot(w) 

## -----------------------------------------------------------------------------
summarize(w)

## -----------------------------------------------------------------------------
corrected(w)

## -----------------------------------------------------------------------------
# posthocProportions( w )  ## not yet bundled in the library

Try the ANOPA package in your browser

Any scripts or data that you put into this service are public.

ANOPA documentation built on Aug. 19, 2025, 1:11 a.m.