points.pheno_curve: points.pheno_curve Generic method to add points on a plot of...

points.pheno_curveR Documentation

points.pheno_curve Generic method to add points on a plot of the flight curve, where values are extracted from a pheno_curve object (outcome of the light_curve() function)

Description

points.pheno_curve Generic method to add points on a plot of the flight curve, where values are extracted from a pheno_curve object (outcome of the light_curve() function)

Usage

## S3 method for class 'pheno_curve'
points(data_x, year = NULL, weekday = 3, SiteID = NULL, BaseYear = NULL, ...)

Arguments

data_x

pheno_curve object which is the outcome of the light_curve() function

year

integer or vector for the year(s) to be displayed (e.g. 2015 or c(2000, 2001)), default is NULL.

weekday

weekday to be used for date in weekly count, where 1 refers to Monday, default is 3 (Wednesday)

SiteID

integer or string to ID the site to display, default the first site is displayed.

BaseYear

integer to identify the base year to plot the points, default is the actual year, but can be use to plot additional year on existing plot

...

additional parameters for base plot.

Value

Returns a base plot with relative abundance (y) over time (x)

Author(s)

Reto Schmucki - reto.schmucki@mail.mcgill.ca


RetoSchmucki/rbms documentation built on Feb. 14, 2024, 3:17 a.m.