makeScatterPlot: Scatter two environmental variables against each other

Description Usage Arguments Value Examples

View source: R/coorClimR.R

Description

Scatter two environmental variables against each other

Usage

1
2
3
4
makeScatterPlot(climateDF, xVariable = "Precipitation",
  yVariable = "Maximum Temperature", xPeriod = 1, yPeriod = 1,
  pointColor = "gray", plotModern = TRUE, modernColor = "black",
  title = paste(xVariable, xPeriod, "vs.\n", yVariable, yPeriod))

Arguments

climateDF

A data.frame object produced by getData that has the climate data you wish to plot

xVariable

Name of variable type to put on the x axis

yVariable

Name of variable type to put on the y axis

xPeriod

The measurement period of the variable for the X axis of the plot

yPeriod

The measurement period of the variable for the T axis of the plot

pointColor

Color string in which to plot the xy points

plotModern

boolean flag indicating whether to plot the modern points in a different color than the background points

modernColor

if plotModern is TRUE, then the modern points will be plotted in this color

title

The title to give the plots

Value

VOID

Examples

1
2
d <- queryNeotoma("ilex")
makeScatterPlot(d, xVariable='Maximum Temperature', yVariable='Minimum Temperature', xPeriod=7, yPeriod=1, modernColor='blue')

cyber4paleo/coorClimR documentation built on May 12, 2017, 2:26 p.m.