TRS-class: Temporal Reference System

Description Usage Arguments Details Slots

Description

This object holds information regarding a temporal reference system. In particular this reference system consists of a datum (t0), a resolution (tres), a dimension name (dimname) and a measurement unit (tUnit) which is connected to the resolution.

Usage

1
TRS(dimension, t0, tres, tunit)

Arguments

dimension

character - the dimension name

t0

POSIXt - the datum

tres

numeric - the temporal resolution

tunit

character - The temporal unit

Details

The tUnit is mostly used in cases where the function difftime is called. Therefore tUnit can either be "secs", "mins", "hours", "days" or "weeks".

Slots

t0

POSIXt derivative as the datum for this TRS

tUnit

character - The unit definition as used in difftime

tResolution

numeric - The amount of tUnits that make up the resolution

dimname

character - The dimension name


flahn/scidbst documentation built on May 16, 2019, 1:15 p.m.