Description Usage Arguments Value Examples
Plot a climate variable through time
1 2 3 4 | makeTSPlot(climateDF, responseVariable = "Precipitation",
responsePeriod = 1, title = paste(responseVariable, responsePeriod,
"vs. Time"), plotAVG = T, plotSD = TRUE, pointColor = "gray",
lineColor = "red")
|
climateDF |
A data.frame object produced by getData that has the climate data you wish to plot |
responseVariable |
The name of the variable for the Y axis of the plot |
responsePeriod |
The measurement period of the variable for the Y axis of the plot |
title |
The title you want to put on the plot |
plotAVG |
Boolean flag for plotting the mean of each yearsBP bin (binned average) |
plotSD |
Boolean flag for plotting the standard deviation of year yearsBP bin(binned SD) |
pointColor |
Color string representing the color in which to plot the individual points |
lineColor |
If plotAVG and/or plotSD are true, then those lines will be plotted in this color |
data.frame with the binned averages, std, and median for the dataset
1 2 | sequoia <- queryNeotoma("sequoia")
makeTSPlot(sequoia, lineColor="green")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.