geom_dr_point | R Documentation |
Add point layer of observed detection range data.
geom_dr_point(
mapping = NULL,
data = NULL,
stat = "drPoint",
position = "identity",
na.rm = FALSE,
show.legend = NA,
inherit.aes = TRUE,
...
)
mapping |
Set of aesthetic mappings created by |
data |
The data to be displayed in this layer. There are three options: If A A |
stat |
The statistical transformation to use on the data for this layer, as a string. |
position |
Position adjustment, either as a string, or the result of a call to a position adjustment function. |
na.rm |
If |
show.legend |
logical. Should this layer be included in the legends?
|
inherit.aes |
If |
... |
Other arguments passed on to |
dr_plot()
dr_plot_predict()
Other ggplot:
geom_dr_errorbar()
,
geom_dr_ribbon()
ggplot2::ggplot(detrange::range_obs) +
geom_dr_point(ggplot2::aes(x = distance, detects = detects, pings = pings))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.