Learn R Programming

SciencesPo (version 0.11.21)

get.ts: Time series parameters made simple

Description

Returns a data frame with time parameters and time variable.

Usage

get.ts(datevar, format, datavar = NULL, tz = "GMT")

Arguments

datevar
A time variable
format
A time format
datavar
data variable to convert to a time series
tz
Time zone code

Value

  • A data frame containing time parameters and measuring variable.

Examples

Run this code
data(us2012)
get.ts(datevar = us2012[,3], format = "

Run the code above in your browser using DataLab