predict.drfit | R Documentation |
A wrapper on dr_predict_de()
that by default predicts
detection efficiency over the range of distance in data.
## S3 method for class 'drfit'
predict(
object,
distance = NULL,
by = "Station",
conf_level = 0.95,
estimate = median,
...
)
object |
The object. |
distance |
A vector of the distances to predict detection efficiency at. If NULL, a vector of length 30 spanning the range of the Distance in the data is generated. |
by |
A string of the column indicating group to derive predictions at. |
conf_level |
A number between 0 and 1 of the confidence level. |
estimate |
A function to calculate the estimate. |
... |
Unused parameters. |
It is useful for plotting purposes.
dr_predict_de()
fit <- dr_fit(detrange::range_obs)
predict(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.