BCIPlot | R Documentation |
Plots BCI score over time.
BCIPlot(
object,
years = NA,
points = NA,
visits = NA,
times = NA,
plot_title = NA,
point_num = NA,
type = "Cent_Appal",
caption = T,
palette = "BuGn",
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 vistied 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 |
type |
A mandatory length 1 character |
caption |
Logcial. Indicates if the default caption "Values in parentheses indicate the number of points monitored each visit of each year." should be included. |
palette |
Color pallete for the background of the graph. Defaults to "BuGn" (blue green) but will accept any RColorBrewer palette |
output |
Either "total" (the default) or "list". Only used when |
plot |
Logical. Return plot |
... |
Additional arguments passed to |
This function produces a graph the Bird community Index over time. It does this by using the output of
the BCI
function, and averging the plot values for the park's yearly value. The error bars on the plot reprsent 95
bootstrap confidence intervals. The data is then passed on
to ggplot2 for graphing. Typically this is done automatically by providing an NCRNbirds
object or a list
of such objects. If the user wishes to provide their own data.frame
it should have 3 columns, Year, BCI, BCI_Category
and each row should be data from single year.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.