SplitTime: Splits Time regarding a given Resolution

View source: R/SplitTime.R

SplitTimeR Documentation

Splits Time regarding a given Resolution

Description

Splits Time regarding a given Resolution

Usage

SplitTime(Time,Resolution='years',format=c('y-m-d','h:m:s'),split=" ")

Arguments

Time

[1:n] Character of time from years to seconds will be translated to a chron object

Resolution

String Option: seconds, minutes, days,hours,weekdays,months,quarters or years

format

Format of Time as vector of years to days and hours to seconds

split

Character vector (or object which can be coerced to such) containing regular expression(s) (unless fixed = TRUE) to use for splitting.

Value

list[1:k] splitted time

Author(s)

Michael Thrun


Mthrun/TSAT documentation built on Feb. 5, 2024, 11:15 p.m.