powered by
Unreplicated designs using the sparse allocation approach
sparse_allocation( lines, nrows, ncols, l, planter = "serpentine", plotNumber, copies_per_entry, checks = NULL, exptName = NULL, locationNames, sparse_list, seed, data = NULL )
A list with four elements.
designs is a list with each location unreplicated randomization.
designs
list_locs is a list with each location list of entries.
list_locs
allocation is a matrix with the allocation of treatments.
allocation
size_locations is a data frame with one column for each location and one row with the size of the location.
size_locations
Number of genotypes, experimental lines or treatments.
Number of rows in the field.
Number of columns in the field.
Number of locations or sites. By default l = 1.
l = 1
Option for serpentine or cartesian plot arrangement. By default planter = 'serpentine'.
serpentine
cartesian
planter = 'serpentine'
Numeric vector with the starting plot number for each location. By default plotNumber = 101.
plotNumber = 101
Number of copies per plant. When design is sparse then copies_per_entry < l
sparse
copies_per_entry
l
Number of genotypes checks.
(optional) Name of the experiment.
(optional) Names each location.
(optional) A class "Sparse" object generated by do_optim() function.
do_optim()
(optional) Real number that specifies the starting seed to obtain reproducible designs.
(optional) Data frame with 2 columns: ENTRY | NAME . ENTRY must be numeric.
ENTRY | NAME
Didier Murillo [aut], Salvador Gezan [aut], Ana Heilman [ctb]
Edmondson, R.N. Multi-level Block Designs for Comparative Experiments. JABES 25, 500–522 (2020). https://doi.org/10.1007/s13253-020-00416-0
sparse <- sparse_allocation( lines = 120, l = 4, copies_per_entry = 3, checks = 4, locationNames = c("LOC1", "LOC2", "LOC3", "LOC4", "LOC5"), seed = 1234 )
Run the code above in your browser using DataLab