classifyNightTracks: Classifies Data Values of a 'Tracks' object as Night or Day...

Description Usage Arguments Value See Also Examples

View source: R/classifyNightTracks.R

Description

classifyNightTracks creates labels for the data values of a Tracks object with Track objects with the same time vectors (i.e. data values for the same time interval) marking a data value as recorded during night or during day. The decision boundaries are specified by the user.

Usage

1
classifyNightTracks(currenttracks, night)

Arguments

currenttracks

A Tracks object with Track objects with the same time vectors (i.e. data values for the same time interval) (as returned by reorganizeTracks). currenttracks must have a variable time indicating the time of all data values.

night

An integer vector with two elements:

  1. The first element specifies the start hour of the night, e.g. 0 for 0 o'clock.

  2. The first element specifies the start hour of the night, e.g. 4 for 4 o'clock.

Value

A Tracks object identical to currenttracks with an attribute night representing a logical vector with a value for each data value in a Track object in currenttracks that is TRUE if a data value was recorded during night and FALSE if it was recorded during day.

See Also

#

Examples

1
#

henningte/herdersTA documentation built on Jan. 22, 2020, 5:16 a.m.