R/ts.R

Defines functions filter.ts

#' @export
filter.ts <- function(.data, ...) {
  bullets <- c(
    "Incompatible data source.",
    x = '`.data` is a <ts> object, not a data source.',
    i = "Did you want to use `stats::filter()`?"
  )
  abort(bullets)
}

Try the dplyr package in your browser

Any scripts or data that you put into this service are public.

dplyr documentation built on Nov. 17, 2023, 5:08 p.m.