plot.pacea_oianom: Plot anomaly of OISST spatiotemporal data layer

View source: R/plot-pacea-anom.R

plot.pacea_oianomR Documentation

Plot anomaly of OISST spatiotemporal data layer

Description

Plot anomaly of OISST spatiotemporal data layer

Usage

## S3 method for class 'pacea_oianom'
plot(
  x,
  weeks.plot,
  months.plot,
  years.plot,
  clim.dat,
  bc = TRUE,
  eez = TRUE,
  ...
)

Arguments

x

an OISST 'pacea_oianom' object; output from using 'calc_anom()' of 'oisst_7day' or 'oisst_month' data

weeks.plot

weeks to plot. Defaults to current week (if available)

months.plot

months to plot. Defaults to current month (if available)

years.plot

years to plot. Defaults to current year (if available)

clim.dat

climatology data, obtained from using 'calc_clim()'. If used, contours of deviations from climatology mean will be plotted

bc

logical. Should BC coastline layer be plotted? Can only be plotted with one plot layer.

eez

logical. Should BC EEZ layer be plotted? Can only be plotted with one plot layer.

...

other arguments to be passed on, but not currently used ('?ggplot' says the same thing); this should remove a R-CMD-check warning.

Value

plot of the spatial data to the current device (returns nothing)

Examples

## Not run: 
anom_data <- calc_anom(oisst_7day)
plot(anom_data)

## End(Not run)

pbs-assess/PACea documentation built on April 17, 2025, 11:36 p.m.