read_dssbatch {DSSAT} | R Documentation |
Reads data from a single DSSAT batch file
Description
Reads data from a single DSSAT batch file
Usage
read_dssbatch(file_name = "DSSBatch.V47")
Arguments
file_name |
a character vector of length one that contains the name of a single DSSAT batch file |
Value
a tibble containing the data from the DSSAT batch file
Examples
# Create example batch file path
batch_file_path <- paste0(tempdir(),'/DSSBatch.V47')
# Write example batch file
write_dssbatch(x='UFGA0601.BMX',trtno=1:4,file_name = batch_file_path)
# Read example batch file
dssbatch <- read_dssbatch(batch_file_path)
[Package DSSAT version 0.0.9 Index]