Description Usage Arguments Value
View source: R/Distributions.R
This function contains supported PDFs, CDFs, and random deviate generating functions along with appropriate parameter transformations and inverse transformations needed for maximum likelihood estimation. It takes a vector of distributions and the number of hidden states as input and outputs the appropriate functions for those distributions. This function is for internal use. Additional distributions can be added by modifying this function.
1 | Distributions(dists, nstates, turn = NULL)
|
dists |
A length ndist vector of distributions from the following list: weibull, gamma, exponential, normal, lognormal, lnorm3, posnorm, invgamma, rayleigh, f, ncf, dagum, frechet, beta, binom, poisson, nbinom, zapois, zanegbin, wrpcauchy, wrpnorm. The following are supported dwell time distributions, bue can be used for observation variables: shiftpois,shifnegbin,pospois,posgeom,logarithmic |
nstates |
Number of hidden states |
turn |
Parameters determining the transformation for circular distributions. turn=1 yields support on (0,2pi) and turn=2 yields support on (-pi,pi). For animal movement models, the "encamped" state should use turn=1 and the "traveling" state should use turn=2. |
A list containing transformations, inverse transformations, PDFs, CDFs, and functions to generate random deviates for the input distributions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.