Description Usage Arguments Details Value Author(s) Examples
This function evaluates whether all elements in a
list are identical according to the
identical function.
1  | AllIdentical(l, check.all.pairs = FALSE, ...)
 | 
l | 
 the list of R objects to test  | 
check.all.pairs | 
 logical indicating whether all pairwise tests should be done  | 
... | 
 additional arguments to   | 
By default, this function checks whether the first
element is identical to all others on the assumption
of transivity ((n - 1) calls to identical).
If the user changes
the check.all.pairs option from FALSE, its default, to
TRUE, the function checks all pairs ((n * (n - 1))/2 calls to
identical).
I don't know of any cases where identical isn't transitive,
so I don't know of any cases where this option would be necessary.
TRUE if all elements of l are identical and
FALSE otherwise.
Robert Corty
1 2  | AllIdentical(list('a', 'b', 'c'))
AllIdentical(list('a', 'a', 'a'))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.