seasonal (version 1.7.1)

na.x13: 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

Run this code
# NOT RUN {
#' AirPassengersNA <- AirPassengers
AirPassengersNA[20] <- NA 
na.x13(AirPassengersNA)

seas(AirPassengersNA, na.action = na.x13)
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace