For some reason, it is not clear why my code for row col extraction is not working. This sample code should work.
set.seed(42)
FX <- data.frame(Location=c(5, 7:10), mi=c(1, 34.6, 6, 44, 5.55))
RX <- data.frame(Course=runif(n=1, min=4, max=5), Cor=runif(n=1, min=2, max=3))
FX
# Location mi
# 1 5 1.00
# 2 7 34.60
# 3 8 6.00
# 4 9 44.00
# 5 10 5.55
RX
# Course Cor
# 1 4.914806 2.937075
Current code that is not working:
which(FX==RX[1,1], arr.ind=TRUE)
Desired output:
Row and all cols