Learn R Programming

Rdistance (version 4.0.5)

coef.dfunc: coef.dfunc - Coefficients of an estimated detection function

Description

Extract distance model coefficients from an estimated detection function object.

Usage

# S3 method for dfunc
coef(object, ...)

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.

Arguments

object

An Rdistance model frame or fitted distance function, normally produced by a call to dfuncEstim.

...

Ignored

See Also

AIC, dfuncEstim

Examples

Run this code
data(sparrowDfuncObserver) # pre-estimated dfunc

# Same as sparrowDfuncObserver$par 
coef(sparrowDfuncObserver) 

if (FALSE) {
data(sparrowDf)
dfunc <- sparrowDf |> dfuncEstim(dist~bare + observer,
                      w.hi=units::set_units(150, "m"))
coef(dfunc)
}
 

Run the code above in your browser using DataLab