summary.avaov | R Documentation |
This method produces a summary for objects of class avaov
. It first calls the
default summary.aov
method and then replaces the standard p-values with anytime-valid p-values
calculated using the precision parameter g
.
## S3 method for class 'avaov'
summary(object, ...)
object |
An object of class |
... |
Additional arguments passed to or from other methods. |
A summary object of class summary.avaov
that includes the anytime-valid p-values.
# Fit an ANOVA model to the iris dataset.
# This model tests whether the sepal length differs by species.
fit_aov <- aov(Sepal.Length ~ Species, data = iris)
# Convert the standard aov object to an anytime-valid aov (avaov) with precision parameter g = 1.
av_fit_aov <- av(fit_aov, g = 1)
# Print the summary of the anytime-valid ANOVA model.
# The summary replaces standard p-values with anytime-valid p-values.
summary(av_fit_aov)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.