makeTSPlot: Plot a climate variable through time

Description Usage Arguments Value Examples

Description

Plot a climate variable through time

Usage

1
2
3
4
makeTSPlot(climateDF, responseVariable = "Precipitation",
  responsePeriod = 1, title = paste(responseVariable, responsePeriod,
  "vs. Time"), plotAVG = T, plotSD = TRUE, pointColor = "gray",
  lineColor = "red")

Arguments

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

Value

data.frame with the binned averages, std, and median for the dataset

Examples

1
2
 sequoia <- queryNeotoma("sequoia")
 makeTSPlot(sequoia, lineColor="green")

cyber4paleo/coorClimR documentation built on May 14, 2019, 1:38 p.m.