add additional functions
Gitea Organization/civilyticsR/pipeline/head There was a failure building this commit

This commit is contained in:
Jared Knowles
2023-07-20 11:48:42 -04:00
parent 9acebb5133
commit ac63932a31
12 changed files with 446 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{outersect}
\alias{outersect}
\title{Compute the outersection of two fectors}
\usage{
outersect(x, y, ...)
}
\arguments{
\item{x}{first vector, of any type}
\item{y}{second vector, same type as x}
\item{...}{additional vectors to be checked}
}
\value{
unique values across all of the vectors
}
\description{
Compute the outersection of two fectors
}
\examples{
# desired result is c(1, 2, 3, 6, 9, 10)
outersect(1:5, 4:8, 7:10)
}