moveLocErrorCalc {movegroup}R Documentation

moveLocError calculator for ARGOS or state space models resulting in 95percent latlon confidence intervals

Description

Builds a dataframe of original locations plus rowmeans of mean distance of location extremities lon975, lat; lon025, lat; lon, lat975; lon, lat025 from the centre point lon, lat.

Usage

moveLocErrorCalc(
  x,
  loncol = "lon",
  latcol = "lat",
  latloncrs = 4326,
  projectedcrs = 32617,
  lon025 = "lon025",
  lon975 = "lon975",
  lat025 = "lat025",
  lat975 = "lat975"
)

Arguments

x

Data frame or tibble with lats and lons and their high and low confidence interval counterparts.

loncol

Name of longitude column in x, character. Default "lon".

latcol

Name of latitude column in x, character. Default "lat".

latloncrs

CRS of x, default 4326, numeric.

projectedcrs

CRS to project to, should match your region, default 32617, numeric. See movegroup projectedCRS.

lon025

Name of low 2.5% confidence interval longitude column in x, character. Default "lon025".

lon975

Name of high 2.5% confidence interval longitude column in x, character. Default "lon975".

lat025

Name of low 2.5% confidence interval latitude column in x, character. Default "lat025".

lat975

Name of high 2.5% confidence interval latitude column in x, character. Default "lat975".

Details

Use on your data object from movegroup::movegroup(data).

Value

Dataframe of original locations plus rowmeans of mean distance of location extremities, for use in movegroup::movegroup(moveLocError).

Author(s)

Simon Dedman, simondedman@gmail.com

Examples

data(argosFiltered)
myMoveLocError <- moveLocErrorCalc(argosFiltered)


[Package movegroup version 2024.03.05 Index]