Learn R Programming

seasonal (version 1.10.0)

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)

Value

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

Arguments

x

an object of class "ts"

Examples

Run this code
# \donttest{
AirPassengersNA <- AirPassengers
AirPassengersNA[20] <- NA
na.x13(AirPassengersNA)

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

Run the code above in your browser using DataLab