Description Usage Arguments Details Value Examples
View source: R/predictionFunctions.R
plotPredicted
plot observed and predicted values of stream temperature along with daily air temperature
1 2 | plotPredict(observed, predicted, siteList = "ALL", yearList = "ALL",
dir = getwd(), display = FALSE)
|
observed |
Dataframe of observed stream temperatures with at least columns "temp", "sites", and "years" |
predicted |
Dataframe of predicted stream temperatures with at least columns "tempPredicted", "sites", "years", and "airTemp" |
siteList |
Optional character vector of site names for predictions. Default "ALL" will predict to all sites in the predicted dataframe |
yearList |
Optional character vector of years for predictions. Default "ALL" will predict for all years in the predicted dataframe |
dir |
Directory where the files will be saved. Defaults to the working directory |
blah, blah, blah
Saves a png file for every site in the siteList to the dir with all years in the yearList
1 2 3 4 | ## Not run:
plotPredict(observed = tempDataSync, predicted = tempFull, siteList = "ALL", yearList = "ALL", dir = paste0(dataLocalDir,'/', 'plots/fullRecord/'))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.