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

View source: R/coef.dfunc.r

coef.dfuncR 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 dfuncEstim.

...

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

AIC, dfuncEstim

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)
 

tmcd82070/Rdistance documentation built on April 13, 2025, 1:38 p.m.