coef.dfunc {Rdistance} | R Documentation |
coef.dfunc - Coefficients of an estimated detection function
Description
Extract distance model coefficients from an estimated detection function object.
Usage
## S3 method for class 'dfunc'
coef(object, ...)
Arguments
object |
An Rdistance model frame or fitted distance function,
normally produced by a call to |
... |
Ignored |
Value
The estimated coefficient vector for the detection function. Length and interpretation of values vary depending on the form of the detection function and expansion terms.
See Also
Examples
data(sparrowDfuncObserver) # pre-estimated dfunc
# Same as sparrowDfuncObserver$par
coef(sparrowDfuncObserver)
## Not run:
data(sparrowDf)
dfunc <- sparrowDf |> dfuncEstim(dist~bare + observer,
w.hi=units::set_units(150, "m"))
coef(dfunc)
## End(Not run)
[Package Rdistance version 4.0.5 Index]