fitted.esw1 | R Documentation |
Calculates effective strip width from fitted model.
## S3 method for class 'esw1'
fitted(
hmmlt,
obs = 1:dim(hmmlt$xy)[1],
nx = 100,
to.x = FALSE,
all = FALSE,
W = NULL
)
hmmlt |
output from fit.hmltm() |
obs |
observations (row numbers of hmmlt$xy) for which to calculate esw. |
nx |
number of x values to use to implement Simpson's rule in perp dist dimension. |
to.x |
If TRUE integrates only to observed x, else integrates to W. |
all |
If TRUE then returns esw for every observation, else returns only that for first obs if there are no covariates; always returns esw for every observation if there are covariates. |
W |
limit of perp. dist integration. If NULL, uses survey.pars$W. |
Designed to be called by fitted.invp1
.
Identical to fitted.esw but returns list instead of numerical scalar or vector. This is to allow
it to be used in NDest
for estimating density and abundance.
Calls hmltm.esw
to calclate effective stript width (esw) for 1 observer for fitted
object hmmlt
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.