Testing whether multiple objects are identical
midentical(
...,
num.eq = TRUE,
single.NA = TRUE,
attrib.as.set = TRUE,
ignore.bytecode = TRUE,
ignore.environment = FALSE,
ignore.srcref = TRUE,
extptr.as.ref = FALSE
)
A logical value, TRUE
if all objects are identical
midentical
extends identical
to test multiple objects instead
of only two.
identical
set1 <- "HSV"
set2 <- set3 <- set4 <- c("HSV", "FCB")
midentical(set1, set2)
#> [1] FALSE
midentical(list(set1, set2))
#> [1] FALSE
midentical(set2, set3, set4)
#> [1] TRUE
midentical(list(set2, set3, set4))
#> [1] TRUE
## other options passed to identical
midentical(0, -0, +0, num.eq=FALSE)
#> [1] FALSE
midentical(0, -0, +0, num.eq=TRUE)
#> [1] TRUE