Last chance! 50% off unlimited learning
Sale ends in
Utility function to substitute NA values by -99999. Useful as a value for the
na.action
argument in seas
.
na.x13(x)
an object of class "ts"
a time series, with NA values substituted by -99999.
# 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 DataLab