Learn R Programming

aridagri (version 2.0.3)

anova_augmented: Augmented Block Design ANOVA

Description

Performs ANOVA for Augmented Randomized Block Design where checks are replicated and test entries appear once.

Usage

anova_augmented(data, response, genotype, block, check_names, verbose = TRUE)

Value

List containing ANOVA results and adjusted means

Arguments

data

Data frame containing the data

response

Name of response variable

genotype

Name of genotype/entry column

block

Name of block column

check_names

Vector of check variety names

verbose

Logical. If TRUE (default), prints formatted output to console.

Author

Lalit Kumar Rolaniya, Ram Lal Jat, Monika Punia, Raja Ram Choudhary

Examples

Run this code
data <- data.frame(
  block = rep(1:5, each = 7),
  genotype = c(rep(c("C1","C2","C3"), 5), paste0("T", 1:20)),
  yield = rnorm(35, 1200, 150)
)
# Note: This is simplified example

Run the code above in your browser using DataLab