#' @importFrom dplyr filter
#' @export
#'
dplyr::filter
#' Filter rows
#'
#' Aliases for [where-dtplyr].
#'
#' @rdname filter-dtplyr
#' @name filter-dtplyr
#' @export
#'
#' @template data-arg
#' @param ... See [where-dtplyr].
#' @param .preserve Ignored.
#'
filter.ExprBuilder <- function(.data, ..., .preserve) {
where.ExprBuilder(.data, ...)
}
#' @rdname filter-dtplyr
#' @export
#' @importFrom rlang caller_env
#'
filter.data.table <- function(.data, ..., .preserve) {
where.ExprBuilder(ExprBuilder$new(.data, rlang::caller_env()), ...)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.