outersect: 'outersect' Calculates the symmetrical set difference of...

View source: R/misc_functions.R

outersectR Documentation

'outersect' Calculates the symmetrical set difference of subsets

Description

'outersect' Calculates the symmetrical set difference of subsets

Usage

outersect(x, y, ...)

Arguments

x, y

vectors, data frames containing a sequence of items

...

further arguments to be passed to or from other methods

Value

A vector made of both contents from x and y, except from the duplicated items

Examples

x <- c("age", "year", "bp", "name")
y <- c("city", "year", "birth", "id")
outersect(x, y)
#"age" "bp" "name" "city" "birth" "id"

ChristK/CKutils documentation built on April 11, 2025, 10:11 p.m.