| read_cul | R Documentation | 
Reads parameters from a single DSSAT cultivar parameter file (*.CUL)
read_cul(
  file_name,
  col_types = NULL,
  col_names = NULL,
  left_justified = c("VAR#", "VARNAME\\.*", "VAR-NAME\\.*", "VRNAME\\.*"),
  use_std_fmt = TRUE
)
| file_name | a character vector of length one that contains the name of a single DSSAT output file | 
| col_types | One of NULL, a cols() specification, or a string.
See  | 
| col_names | A character vector of column names; primarily helpful for cases where there are no white spaces between column names within the header line | 
| left_justified | A character vector of column names that should be left justified | 
| use_std_fmt | logical value indicating whether to read FileX using the standard column formats. If FALSE, column formats will be inferred from tier headers | 
a tibble containing the data from the raw DSSAT output
# Extract file path for sample cultivar file path
sample_cul_file <- system.file('extdata','SAMPLE.CUL',package='DSSAT')
# Read sample cultivar file
cul <- read_cul(sample_cul_file)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.