bacckFillLeadingNas: Takes a vector of fiscal or calendar periods and returns a...

Description Usage Arguments Details Value Author(s)

Description

Takes a vector of fiscal or calendar periods and returns a vector of dates, the first date of each month

Usage

1
bacckFillLeadingNas(datain, f = 12)

Arguments

datain

a time series matrix with lags as each column, contained leading NAs

f

frequency of the time series

Details

this is too clean up lagged regressors for a xreg argument of an arima model

Value

a data frame with the leading NAs filled in

Author(s)

Zeng, Qichen


mdavis29/fpTools documentation built on May 22, 2019, 3:22 p.m.