summary.avaov {avlm} | R Documentation |
Summary Method for Anytime-Valid aov Objects
Description
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
.
Usage
## S3 method for class 'avaov'
summary(object, ...)
Arguments
object |
An object of class |
... |
Additional arguments passed to or from other methods. |
Value
A summary object of class summary.avaov
that includes the anytime-valid p-values.
Examples
# 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)
[Package avlm version 0.1.0 Index]