plotPredict: Plot observed and predicted values of stream temperature

Description Usage Arguments Details Value Examples

View source: R/predictionFunctions.R

Description

plotPredicted plot observed and predicted values of stream temperature along with daily air temperature

Usage

1
2
plotPredict(observed, predicted, siteList = "ALL", yearList = "ALL",
  dir = getwd(), display = FALSE)

Arguments

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

Details

blah, blah, blah

Value

Saves a png file for every site in the siteList to the dir with all years in the yearList

Examples

1
2
3
4
## Not run: 
plotPredict(observed = tempDataSync, predicted = tempFull, siteList = "ALL", yearList = "ALL", dir = paste0(dataLocalDir,'/', 'plots/fullRecord/'))

## End(Not run)

Conte-Ecology/conteStreamTemperature documentation built on Oct. 12, 2021, 10:26 p.m.