Learn R Programming

DSSAT (version 0.0.9)

read_dssbatch: Reads data from a single DSSAT batch file

Description

Reads data from a single DSSAT batch file

Usage

read_dssbatch(file_name = "DSSBatch.V47")

Value

a tibble containing the data from the DSSAT batch file

Arguments

file_name

a character vector of length one that contains the name of a single DSSAT batch file

Examples

Run this code

# 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)

Run the code above in your browser using DataLab