Learn R Programming

tstools (version 0.4.3)

m_to_q: Turn monthly series with regular NAs to quarter

Description

Monthly series with NAs in non-quarter months are turned to quarterly series. Series without NAs are just returned.

Usage

m_to_q(series)

Arguments

series

an object of class ts with monthly frequency