Learn R Programming

crawl (version 2.3.0)

detect_timescale: Detect appropriate time scale for movement analysis

Description

This function examines the time vector and evaluates the median time interval. With this, we determine what the best time scale for the movement model is likely to be.

Usage

detect_timescale(time_vector)

Value

character of either "seconds","minutes","hours","days","weeks"

Arguments

time_vector

a vector of class POSIXct