coef.dfunc | R Documentation |
Extract the coefficients and estimated parameters (if any) from a estimated detection function object.
## S3 method for class 'dfunc'
coef(object, ...)
object |
An estimated distance function object. An estimated distance
function object has class 'dfunc', and is usually produced by a call to
|
... |
Required for compatibility with the general |
This is an extractor function for the parameters of an estimated detection function.
This function is equivalent to obj$parameters
for classical detection functions.
The estimated parameter vector for the detection function. Length and interpretation of values in this vector vary depending on the form of the detection function and expansion terms.
AIC
, dfuncEstim
# Load example sparrow data (line transect survey type)
data(sparrowDetectionData)
# Fit half-normal detection function
dfunc <- dfuncEstim(formula=dist~1
, detectionData=sparrowDetectionData)
# Print results
dfunc
# Extract the coefficient(s)
coef(dfunc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.