| read_wth | R Documentation | 
Reads weather input data from a single DSSAT weather file (*.WTH)
read_wth(file_name, col_types = NULL, col_names = NULL)
| 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 | 
a tibble containing the data from the raw DSSAT file
# Extract file path for sample weather file
sample_wth <- system.file('extdata','SAMPLE.WTH',package='DSSAT')
read_wth(sample_wth)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.