Learn R Programming

amt (version 0.0.7)

fit_sl_dist: Fit a statistical distribution to step lengths.

Description

Fit a statistical distribution to step lengths.

Usage

fit_sl_dist(.tbl, x, ...)

fit_sl_dist_base(x, na.rm = TRUE, distr = "gamma", ...)

Arguments

.tbl

[track_xy,track_xyt] A track.

x

[expression] The name of the column containing step lengths, usually sl_.

...

Further arguments, none implemented.

na.rm

[logical(1)] Should NA be removed?

distr

[character(1)]{'gamma', 'exp', 'unif'} Name of the distribution, currently only gamma, unif, and exponential distributions are supported.

Examples

Run this code
# NOT RUN {
data(deer)
stps <- steps_by_burst(deer)
fit_sl_dist(stps, sl_)
# }

Run the code above in your browser using DataLab