How to pick value between two vectors based on the value at given index in R

前端 未结 0 1926
天命终不由人
天命终不由人 2020-12-15 11:54

I have a vector X that represents values between 0 and 10, if the value at given index is equal or lower than 4, pick specific value from given vector. I have tried it this

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