Displaying 1 result from an estimated 1 matches for "tp4157551p4158691".
2011 Dec 04
4
equating approximate values
Hello List,
I am having trouble finding the command for my problem.
I have two arrays x and y. now i would like to compare the values of x and y
and then get the index of x which is exactly or approximately equal(+/- some
value ) to the values in y.
x <- runif(100,min=0,max=5)
y <- runif(10,min=0,max=5)
the threshold value(+/-) value can vary. for this example lets take it to be
.5