View source: R/moveLocErrorCalc.R
moveLocErrorCalc | R Documentation |
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.
moveLocErrorCalc(
x,
loncol = "lon",
latcol = "lat",
latloncrs = 4326,
projectedcrs = 32617,
lon025 = "lon025",
lon975 = "lon975",
lat025 = "lat025",
lat975 = "lat975"
)
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". |
Use on your data object from movegroup::movegroup(data).
Dataframe of original locations plus rowmeans of mean distance of location extremities, for use in movegroup::movegroup(moveLocError).
Simon Dedman, simondedman@gmail.com
data(argosFiltered)
myMoveLocError <- moveLocErrorCalc(argosFiltered)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.