if (FALSE) {
library(agricolaeplotr)
library(FielDHub)
H <- paste("H", 1:4, sep = "")
V <- paste("V", 1:5, sep = "")
strip1 <- FielDHub::strip_plot(Hplots = H,
Vplots = V,
b = 1,
l = 1,
plotNumber = 101,
planter = "serpentine",
locationNames = "A",
seed = 333)
strip1$fieldBook$ROW <- as.numeric(ordered(strip1$fieldBook$VSTRIP,
levels = unique(strip1$fieldBook$VSTRIP)))
strip1$fieldBook$COLUMN <- as.numeric(ordered(strip1$fieldBook$HSTRIP,
levels = unique(strip1$fieldBook$HSTRIP)))
plot_fieldhub(strip1,
x = "ROW",
y = "COLUMN",
labels = "HSTRIP",
factor_name = "HSTRIP",
width = 12,
height = 10,
reverse_y = FALSE,
reverse_x = FALSE)
}
Run the code above in your browser using DataLab