Skip to contents

Gets latest data for forecasting. It also gets the number of missing data points to forecast.

Usage

trim_series(x)

Arguments

x

Data series to reduce for forecasting

Value

Series with contiguous observations followed by NA values to forecast.