Create a summary of a movetrack object.

# S3 method for movetrack
summary(object, var = c("lon", "lat"), ci = "HDI", prob = 0.9, ...)

Arguments

object

An object of class movetrack.

var

The variable to summarise; defaults to 'lon'.

ci

The method used to calculate the credible intervals. Available options are 'HDI' for the highest posterior density interval and 'ETI' for the equal-tailed interval; defaults to 'HDI'.

prob

The probability mass of the credible interval; defaults to 0.9.

...

Unused; for compatibility with the generic method.

Value

A data.frame with the summary statistics.

Examples

if (FALSE) {
summary(fit)
summary(fit, var = "distance")
summary(fit, ci = "ETI", prob = 0.89)
}