distributions {amt}R Documentation

Functions create statistical distributions

Description

make_distributions creates a distribution suitable for using it with integrated step selection functions

Usage

make_distribution(name, params, vcov = NULL, ...)

make_exp_distr(rate = 1)

make_hnorm_distr(sd = 1)

make_lnorm_distr(meanlog = 0, sdlog = 1)

make_unif_distr(min = -pi, max = pi)

make_vonmises_distr(kappa = 1, vcov = NULL)

make_gamma_distr(shape = 1, scale = 1, vcov = NULL)

Arguments

name

⁠[char(1)]⁠
Short name of distribution. See available_distr() for all currently implemented distributions.

params

⁠[list]⁠
A named list with parameters of the distribution.

vcov

⁠[matrix]⁠
A matrix with variance and covariances.

...

none implemented.

rate

⁠[double(1)>0]⁠
The rate of the exponential distribution.

sd

⁠[double(1)>0]⁠
The standard deviation of the half-normal distribution.

meanlog

⁠[double(1)>0]⁠
The standard deviation of the half-normal distribution.

sdlog

⁠[double(1)>0]⁠
The standard deviation of the half-normal distribution.

min

⁠[double(1)]⁠
The minimum of the uniform distribution.

max

⁠[double(1)]⁠
The minimum of the uniform distribution.

kappa

⁠[double(1)>=0]⁠
Concentration parameter of the von Mises distribution.

shape, scale

⁠[double(1)>=0]⁠
Shape and scale of the Gamma distribution

Value

A list of class amt_distr that contains the name (name) and parameters (params) of a distribution.


[Package amt version 0.2.1.0 Index]