Description Usage Arguments Details Value Examples
View source: R/compare-three.R
Convenience function comparing three elements using a desired comparator function.
| 1 2 3 4 5 6 7 | compare_three(
  x,
  y,
  z,
  compare_fun = "identical",
  result = c("single", "itemized")
)
 | 
| x, y, z | Vectors of equal length to compare | 
| compare_fun | A function used to compare defaults to
 | 
| result | For single it will return logical scalar  | 
The results of the comparator function are tested with
A logical vector of length equal to a, b, c
| 1 2 | compare_three(1:10, 1:10, 1:10)
compare_three(c("b", "a"), c("b", "b"), c("b", "c"), result = "itemized")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.