View source: R/outersect_function.R
outersect.fxn | R Documentation |
This function returns the values that are not in both vectors.
outersect.fxn(x, y, ...)
x |
A vector. |
y |
A vector. |
color.dat <- c(rep('A', 5),rep('B', 5))
y.dat <- c(rnorm(5,2, 2), rnorm(5,5,5))
x.dat <- c(rnorm(5,20, 2), rnorm(5,50,5))
df1 <- data.frame(color.dat,x.dat)
df2 <- data.frame(color.dat,y.dat)
outersect(names(df1),names(df2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.