timeline: Creates a timeline for summarizing movement database

Description Usage Arguments Value Examples

View source: R/timeline_function.R

Description

timeline summarize for each individuals the duration of data available.

Usage

1
2
3
timeline(df, burstcol = "burstname", idcol = "id", timecol = "expectTime",
  color = NULL, actdf = NULL, acttimecol = "dateTime", sep = 7,
  unit = "days")

Arguments

df

a data frame with data and a column in POSIXct

burstcol

column names with defined burst

idcol

column names for id

timecol

column names for dateTime

color

column names for the colors of data. If NULL no colors are added.

actdf

a dataframe (optionnal) for adding activity duration. Must contains idcol and burstcol.

acttimecol

colname for dateTime in actdf

sep

maximum time between two locations to consider them in the same sequence

unit

time unit of sep

Value

a timeline

Examples

1
2
data("hwzebra")
timeline(hwzebra)

rpatin/gpstools documentation built on Sept. 25, 2021, 7:47 a.m.