internalPfun: Functions for converting time to probabilities

Description Usage Arguments Details Value

View source: R/internalPfun.R

Description

Internal function for computing movement probabilities.

Usage

1
internalPfun(x, timefun, c2)

Arguments

x

a numeric object (i.e., a RasterLayer) upon which to compute the probabilities.

timefun

method for convertingtime into probability; one of:
'inverse' = \frac{1}{c_2 * t},
'inverse2' = \frac{1}{(c_2 * t)^2},
'exp' = \exp{-c_2 * t},
'norm' = \exp{-c_2 * t^2},
'rootexp' = \exp{-c_2 * √{t}},
'pareto' = \exp{-c_2 * \log{t}},
'lognorm'= \exp{-c_2 * \log{t^2}}.

c2

Parameter input into timefun default=1.

Details

Used in the fbtg function.

Value

This function returns an object identical to x with timefun applied to its values.


jedalong/wildlifeTG documentation built on July 17, 2019, 2:52 p.m.