assign_rates {ofpetrial} | R Documentation |
This functions assign input rates for the plots created by make_exp_plots() according to the rate designs specified by the user in rate_info, which can be created by prep_rateingle().
assign_rates(exp_data, rate_info)
exp_data |
experiment plots created by make_exp_plots() |
rate_info |
rate information created by prep_rate() |
trial design as sf (experiment plots with rates assigned)
#--- load experiment plots made by make_exp_plots() ---#
data(exp_data)
exp_data
#--- load rate information ---#
data(rate_info)
rate_info
#--- assign rates ---#
td <- assign_rates(exp_data, rate_info)
#--- visualization of the assigned rates ---#
viz(td)