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