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 19, 2017, 7:45 a.m.
Search within the GMD package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.