fitted.esw | R Documentation |
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.
## S3 method for class 'esw'
fitted(hmmlt, obs = 1:dim(hmmlt$xy)[1], nx = 100, to.x = FALSE, all = FALSE)
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.