dr_plot_predict | R Documentation |
Generic function to plot the predicted detection range.
dr_plot_predict(x, ...)
## S3 method for class 'drfit'
dr_plot_predict(
x,
xlab = "Distance",
ylab = "Proportion of Pings Detected",
facet = TRUE,
...
)
## S3 method for class 'data.frame'
dr_plot_predict(
x,
predict_de,
xlab = "Distance",
ylab = "Proportion of Pings Detected",
facet = TRUE,
...
)
x |
The object. |
... |
Unused parameters. |
xlab |
A string of the x-axis title. |
ylab |
A string of the y-axis title. |
facet |
A flag indicating whether to facet plot by Station. |
predict_de |
A tibble of the output of |
drfit
: method to plot predicted detection range from drfit object
data.frame
: method to plot predicted detection range from data.frame object
fit <- dr_fit(detrange::range_obs)
dr_plot_predict(fit)
fit <- dr_fit(detrange::range_obs)
dr_plot_predict(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.