midentical: Multiple identical

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/midentical.R

Description

Testing whether multiple objects are identical

Usage

1
2
3
4
5
6
7
8
9
midentical(
  ...,
  num.eq = TRUE,
  single.NA = TRUE,
  attrib.as.set = TRUE,
  ignore.bytecode = TRUE,
  ignore.environment = FALSE,
  ignore.srcref = TRUE
)

Arguments

...

Objects to be tested, or a list of them

num.eq, single.NA, attrib.as.set, ignore.bytecode,

See identical

ignore.environment, ignore.srcref

See identical

Details

midentical extends identical to test multiple objects instead of only two.

Value

A logical value, TRUE if all objects are identical

Author(s)

Jitao David Zhang <jitao_david.zhang@roche.com>

See Also

identical

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
set1 <- "HSV"
set2 <- set3 <- set4 <- c("HSV", "FCB")

midentical(set1, set2)
midentical(list(set1, set2))

midentical(set2, set3, set4)
midentical(list(set2, set3, set4))

## other options passed to identical
midentical(0, -0, +0, num.eq=FALSE)
midentical(0, -0, +0, num.eq=TRUE)

ribiosUtils documentation built on March 13, 2020, 2:54 a.m.