set_compare: Print summary of differences and intersections of two sets

View source: R/main.R

set_compareR Documentation

Print summary of differences and intersections of two sets

Description

Given two sets s1 and s2, print four values:

  1. the number of s1 not in s2

  2. the number of s1 in s2

  3. the number of s2 in s1

  4. the number of s2 not in s1

The second and third values will be the same when there are no duplicates, but otherwise could be different.

Usage

set_compare(s1, s2)

Arguments

s1

first set.

s2

second set.


bobverity/bobfunctions2 documentation built on July 4, 2023, 8:55 p.m.