or
identical(vec1, vec2) && identical(vec2, vec3)
Jan
Petr Savicky schreef:
On Fri, May 04, 2012 at 12:53:12AM -0700, aaurouss wrote:
Hello,
I'm writing a piece of code where I need to compare multiple same length
vectors.
I've gone through the basic functions like identical() or all(),
On Fri, May 04, 2012 at 12:53:12AM -0700, aaurouss wrote:
> Hello,
>
> I'm writing a piece of code where I need to compare multiple same length
> vectors.
>
> I've gone through the basic functions like identical() or all(), but they
> only work for comparing 2 vectors. From 3 vectors on, it does
Hello,
I'm writing a piece of code where I need to compare multiple same length
vectors.
I've gone through the basic functions like identical() or all(), but they
only work for comparing 2 vectors. From 3 vectors on, it doesn't work .
Example: Assuming
vec1 <- c (1,2,3,4,5)
vec2 <- c(1,2,3,4,
3 matches
Mail list logo