na.x13: Handle Missing Values by X-13

View source: R/na.action.R

na.x13R 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)



seasonal documentation built on Oct. 20, 2024, 1:08 a.m.