Description Usage Arguments Value Examples
Generate experimental designs to allocate vartieties to farmers. 17 experimental designs are included, namely they are AP, RD, KM1~KM6, GD1~GD9 (see the vignette for details)
1 |
nvar |
the number of varieties |
nobs |
the number of farmers (observers), must be greater than or equal to nvar / 3 |
method |
must be one of "alpha", "random", "KM1", "KM2", "KM3", "KM4", "KM5", "KM6", "GD1", "GD2", "GD3", "GD4", "GD5", "GD6", "GD7", "GD8", "GD9" |
marker |
for KM1~KM6 and GD1~GD9, a nvar * nloci matrix should be specified, which is coded in (-1, 0, 1) and is allowed to have NA entry |
an nobs * 3 matrix, with each row being the label of varieties assigned to that farmer
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.