Calculates effective strip half-width, W*E[p(x)], where W is actual half-width, from model.
@param hmmlt output from fit.hmltm
@param obs observations (row numbers of hmmlt$xy
) for which to calculate esw
@param nx number of x values to use to implement Simpson's rule in perp dist dimension;
@param to.x If TRUE integrates only to observed x, else integrates to W
@param 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.
1 2 3 |
Calls hmltm.esw
to calclate effective stript width (esw) for fitted object hmmlt
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.