# NOT RUN {
# }
# NOT RUN {
library(metan)
model <- cv_ammi(data_ge,
env = ENV,
gen = GEN,
rep = REP,
resp = GY,
nboot = 10,
naxis = 2)
# Alternatively using the pipe operator %>%
model <- data_ge %>%
cv_ammi(ENV, GEN, REP, GY)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab