Learn R Programming

SpatialEpi (version 1.2.1)

NumericVectorEquality: Test if two numeric vectors are equal

Description

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

Usage

NumericVectorEquality(x, y)

Arguments

x
NumericVector
y
NumericVector

Value

  • 1 if equal, 0 if not.

Examples

Run this code
x <- c(1:10)
y <- rev(c(10:1))
NumericVectorEquality(x,y)

Run the code above in your browser using DataLab