# \donttest{
set.seed(123)
data <- data.frame(
Genotype = rep(c("G1", "G2", "G3"), each = 10),
Replication = rep(1:10, times = 3),
Trait = c(rnorm(10, 50, 5), rnorm(10, 55, 5), rnorm(10, 60, 5))
)
result <- breeding_metrics(data, "Genotype", "Trait", "Replication")
print(result)
# }
Run the code above in your browser using DataLab