add_blocks {ofpetrial} | R Documentation |
Delineate blocks on a trial design and assign block id to all the plots
add_blocks(td)
td |
trial design made by applying assign_rates() to experimental plots made by make_exp_plots() |
trial design with block_id added
#--- load rate information ---#
data(td_single_input)
#--- add blocks ---#
td_with_blocks <- add_blocks(td_single_input)
#--- take a look ---#
td_with_blocks$trial_design
#--- visualize ---#
viz(td_with_blocks, type = "block_id")