plot_meteo | R Documentation |
Plot meterological drivers from a csv file
plot_meteo(met_file, xmin = NA, xmax = NA, fig_path = NULL, ...)
met_file |
Options: 1) file path to glm2.nml file. Date limits pulled from .nml file 2) file path to .csv file. csv file in wide format. First column is Date, additional columns are meteorological paramters. 3) data.frame object in wide format. First column is Date, additional columns are meteorological paramters. |
xmin |
Optional, start date for xaxis. Formatted as same date format as meteo file. |
xmax |
Optional, end date for xaxis. Formatted as same date format as meteo file. |
fig_path |
Default is NULL (only plots to screen). Enter string path to save as output file. File type can be anything supported by |
... |
additional arguments passed to |
Jordan S. Read, Luke A. Winslow
read_nml
met_file <- system.file("extdata", "LakeMendota_NLDAS.csv", package = "glmtools")
plot_meteo(met_file)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.