ts2df: Convert time series to data frame

Description Usage Arguments Details

View source: R/imports.R

Description

A copy of wq:::ts2df; see ts2df in package:wq for details

Usage

1
ts2df(x, mon1 = 1, addYr = FALSE, omit = FALSE)

Arguments

x

monthly time series vector

mon1

starting month number, i.e., first column of the data frame

addYr

rows are normally labelled with the year of the starting month, but addYr = TRUE will add 1 to this year number

omit

if TRUE, then rows with any NA will be removed.

Details

see ts2df in package:wq for details. Note: wq_0.3-4 asks for R (>= 2.12.0); but GMD supports R (>= 2.9.0).


GMD documentation built on May 29, 2017, 10:41 a.m.