parDef: Parameters definition

View source: R/parDef.R

parDefR Documentation

Parameters definition

Description

Parameters definition

Usage

parDef(stepDist, angleDist, nbStates, estAngleMean, zeroInflation)

Arguments

stepDist

Name of the distribution of the step lengths.

angleDist

Name of the distribution of the turning angles. Set to "none" if the angle distribution should not be estimated.

nbStates

Number of states of the HMM.

estAngleMean

TRUE if the mean of the turning angles distribution is estimated, FALSE otherwise.

zeroInflation

TRUE if the step length distribution is inflated in zero.

Value

A list of:

parSize

Vector of two values: number of parameters of the step length distribution, number of parameters of the turning angle distribution

bounds

Matrix with 2 columns and sum(parSize) rows - each row contains the lower and upper bound for the correponding parameter)

parNames

Names of parameters of step distribution (the names of the parameters of the angle distribution are always the same).


moveHMM documentation built on May 31, 2023, 6:13 p.m.