powered by
Write out all the necessary files to implement the trial design created. Exported files include
write_trial_files(td, folder_path, ext = "shp", zip = FALSE, zip_name = NA)
nothing
(tibble) a tibble of a trial design created by applying assign_rate() to experimental plots made by make_exp_plots().
(character) path to the folder in which the files will be saved
(character) Default = "shp". Extension to use to save the files, "geojson" or any other extension supported by sf::st_write()
(logical) Default = FALSE. If TRUE, all the files that are being written will be zipped.
(character) name of the zip file created when zip = TRUE.
#--- load trial design ---# data(td_two_input) write_trial_files( td = td_two_input, folder_path = tempdir(), zip = FALSE )
Run the code above in your browser using DataLab