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