R/symdiff-rd.R

#' @title Symmetric difference
#'
#' @description  This is a method for the [dplyr::symdiff()] generic.
#' See "Fallbacks" section for differences in implementation.
#' `symdiff(x, y)`  computes the symmetric difference,
#' i.e. all rows in `x` that aren't in `y` and all rows in `y` that aren't in `x`.
#'
#' @inheritParams dplyr::symdiff
#' @examples
#' df1 <- duckdb_tibble(x = 1:3)
#' df2 <- duckdb_tibble(x = 3:5)
#' symdiff(df1, df2)
#' @seealso [dplyr::symdiff()]
#' @rdname symdiff.duckplyr_df
#' @name symdiff.duckplyr_df
NULL
duckdblabs/duckplyr documentation built on March 5, 2025, 3:46 a.m.