if (FALSE) {
library(inti)
factores <- list(
"geno" = c("A", "B", "C", "D", "D", 1, NA, NULL, "NA"),
"salt stress" = c(0, 50, 200, 200, "T0", NA, NULL, "NULL"),
"time" = c(30, 60, 90)
)
fb <- design_repblock(
nfactors = 3,
factors = factores,
type = "rcbd",
rep = 5,
zigzag = TRUE,
seed = 123,
nrows = 5,
qrcode = "{project}{plots}"
)
dsg <- fb$fieldbook
fb %>%
tarpuy_plotdesign(fill = "plots")
fb$parameters
}
Run the code above in your browser using DataLab