Learn R Programming

valytics (version 0.4.0)

summary.precision_study: Summary method for precision_study objects

Description

Provides a detailed summary of precision study results, including variance components, ANOVA table (for ANOVA method), precision estimates with confidence intervals, and design information.

Usage

# S3 method for precision_study
summary(object, ...)

Value

An object of class summary.precision_study containing:

call

The original function call.

n

Number of observations.

n_excluded

Number of observations excluded due to NAs.

design

Design information list.

settings

Analysis settings.

variance_components

Data frame of variance components.

precision

Data frame of precision estimates.

anova_table

ANOVA table (if method = "anova").

by_sample

Results by sample (if multiple samples).

Arguments

object

An object of class precision_study.

...

Additional arguments (currently ignored).

See Also

print.precision_study() for concise output

Examples

Run this code
# Create example data
set.seed(42)
data <- data.frame(
  day = rep(1:5, each = 4),
  value = rnorm(20, mean = 100, sd = 5)
)
data$value <- data$value + rep(rnorm(5, 0, 3), each = 4)

prec <- precision_study(data, value = "value", day = "day")
summary(prec)

Run the code above in your browser using DataLab