R: What is the best way to find the index of two vectors whose values are closest to a 2D point

前端 未结 0 538
再見小時候
再見小時候 2021-01-29 06:40

I will try to explain my goal the best way possible.

Let\'s say I have two vectors:

Teffs <- c(6000, 6100, 6200, ..., 7500)

Ls <- c(40, 41, 42, 43, 44

相关标签:
回答
  • 消灭零回复
提交回复
热议问题