Methods for function
backTransform in Package ‘unmarked’.
This converts from link-scale to original-scale
1 2 3 4
Object of appropriate S4 class
one of names(obj), eg 'state' or 'det'
Typically done internally
Back-transform a parameter from a fitted model. Only possible if no covariates are present. Must specify argument type as one of the values returned by names(obj).
Back-transform a predicted value created by
linearComb. This is done internally by
can be done explicitly by user.
1 2 3 4 5 6 7 8 9 10 11 12 13
## Not run: data(mallard) mallardUMF <- unmarkedFramePCount(mallard.y, siteCovs = mallard.site, obsCovs = mallard.obs) (fm <- pcount(~ 1 ~ forest, mallardUMF)) # Fit a model backTransform(fm, type="det") # This works because there are no detection covariates #backTransform(fm, type="state") # This doesn't work because covariates are present lc <- linearComb(fm, c(1, 0), type="state") # Estimate abundance on the log scale when forest=0 backTransform(lc) # Abundance on the original scale ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.