allIdentical: Testing whether several objects are all identical with each...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/allIdentical.R

Description

Given several objects, the function tests whether all of them are identical.

Usage

1

Arguments

...

Objects to be tested. Can be given as a list, or simplying appending names separated by commas, see example.

Value

Logical, whether all objects are the same

Author(s)

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

See Also

identical

Examples

1
2
3
4
5
6
test1 <- test2 <- test3 <- LETTERS[1:3]
allIdentical(test1, test2, test3)
allIdentical(list(test1, test2, test3))

num1 <- num2 <- num3 <- num4 <- sqrt(3)
allIdentical(num1, num2, num3, num4)

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