richnessPlot | R Documentation |
Plots species richness over time.
richnessPlot(
object,
years = NA,
points = NA,
visits = NA,
times = NA,
plot_title = NA,
point_num = NA,
add_line = TRUE,
output = "total",
plot = TRUE,
...
)
object |
An |
years |
A numeric vector. Indicates which years should be graphed. |
points |
A character vector of point names. Only these points will be used. |
visits |
A length 1 numeric vector, defaults to NA. Returns data only from the indicated visits. |
times |
A numeric vector of length 1. Returns only data from points where the number of years that a point has been visited is greater
or equal to the value of |
plot_title |
Optional, A title for the plot. |
point_num |
An optional numeric vector indicating the number of points sampled each year. If |
add_line |
Logical. Connects points in plot when |
output |
Either "total" (the default) or "list". Only used when |
plot |
Logical. Return plot |
... |
Additional arguments passed to |
This function produces a graph of species richness over time. It does this by using the output of the birdRichness
function. The data is then passed on to ggplot2 for graphing.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.