na.x13 {seasonal}R Documentation

Handle Missing Values by X-13

Description

Utility function to substitute NA values by -99999. Useful as a value for the na.action argument in seas().

Usage

na.x13(x)

Arguments

x

an object of class "ts"

Value

a time series, with NA values substituted by -99999.

Examples


AirPassengersNA <- AirPassengers
AirPassengersNA[20] <- NA
na.x13(AirPassengersNA)

seas(AirPassengersNA, na.action = na.x13)



[Package seasonal version 1.9.0 Index]