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