Skip to contents

prep.atags checks a list with information about data-logging (archival) tags and converts it into the object required by momo.

Usage

prep.atags(x, names, origin = NULL, speed.limit = NULL, verbose = TRUE)

Arguments

x

List with data frames where each data frame holds information about the track of one data-logging (archival) tag. At a minimum, each data frame has to include a column for the time and x and y position of a tag.

names

Names of columns that contain in following order: time, location x, location y.

origin

Optional; allows to convert a date from a numeric format to date format by using the origin. Default: NULL.

speed.limit

Optional; allows to apply a speed filter in km/d. All tags that would imply a larger speed by assuming the distance between recapture and relase location. Default: NULL.

verbose

if TRUE, print information to console. Default: TRUE.

Value

A list with prepared tags.

Examples


data(skjepo)

atags <- prep.atags(skjepo.atags,
                    names = c("time","mptlon","mptlat"),
                    origin = "1899-12-30")