Learn R Programming

rLakeAnalyzer (version 1.11.4.1)

wtr.heatmap.layers: Plots water temperature heatmap with major limnetic layers indicated

Description

This creates a heat map of water temperature similar to wtr.heat.map with additional lines drawn to denote the thermocline, and the top and bottom of the metalimnion as calculated using ts.meta.depths and thermo.depth.

Usage

wtr.heatmap.layers(wtr, ...)

Arguments

wtr

Data frame of water temperature loaded with load.ts.

Additional parameters supplied to filled.contour to modify defaults. Common examples include zlim and plot.title.

See Also

wtr.heat.map load.ts ts.meta.depths ts.thermo.depth

Examples

Run this code
# NOT RUN {
  #Get the path for the package example file included 
  wtr.path <- system.file('extdata', 'Sparkling.wtr', package="rLakeAnalyzer")

  #Load data for example lake, Sparkilng Lake, Wisconsin.
  wtr = load.ts(wtr.path)
  
  # generate default plot
  
# }
# NOT RUN {
  wtr.heatmap.layers(wtr)
  
# }

Run the code above in your browser using DataLab