textvenn: textvenn

Description Usage Arguments Details Value Author(s) Examples

Description

Utility function to calculate intersection and setdiffs for two vectors

Usage

1
textvenn(A, B, quiet = FALSE)

Arguments

A

a vector

B

a vector of the same type as A

quiet

suppress printing if TRUE

Details

Originally from randomFunctions

Value

a list with three elements: A is setdiff(A,B). int is intersect(A,B). B is setdiff(B,A)

Author(s)

Chris Wallace

Examples

1
2
3
4
5
A <- 1:3
B <- 2:4
textvenn(A,B)
tv <- textvenn(A,B,quiet=TRUE)
tv

chr1swallace/GUESSFM documentation built on May 13, 2019, 6:17 p.m.