create.fb | R Documentation |
Creates a potato and sweetpotato fieldbook with short labels or CO numbers.
create.fb(
design,
crop = c("pt", "sp"),
label = c("standard", "CO"),
minimal = TRUE,
add = NULL,
computation = FALSE
)
design |
The name of the design data frame. |
crop |
|
label |
Use |
minimal |
Logical, if |
add |
Additional variables to include. Only if |
computation |
Logical, if |
Only labels listed in functions ptont()
and spont()
are valid. Uppercase labels are converted to lowercase.
It returns a data frame with fieldbook design and variables.
Raul Eyzaguirre.
book <- cr.rcbd(1:20, 3, 10)$book
# Get fieldbook with minimal set of variables for potato
create.fb(book, 'pt')
# Add additional variables
create.fb(book, 'pt', add = c('fedw', 'zndw'))
# Get the fieldbook with CO numbers
create.fb(book, 'pt', 'CO', add = c('dm', 'fedw', 'zndw'))
# Get fieldbook with minimal set of variables for sweetpotato
create.fb(book, 'sp')
# Add additional variables
create.fb(book, 'sp', add = c('bc', 'fe', 'zn'))
# Get the fieldbook with CO numbers
create.fb(book, 'sp', 'CO', add = c('bc', 'fe', 'zn'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.