Test if two numeric vectors are equal

Description

Test if two numeric vectors are equal in their length and their elements

Usage

1

Arguments

x

NumericVector

y

NumericVector

Value

1 if equal, 0 if not.

Author(s)

Albert Y. Kim

Examples

1
2
3
x <- c(1:10)
y <- rev(c(10:1))
NumericVectorEquality(x,y)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.