| rel_value_of_pos_in_vector | R Documentation |
Find relative value of a position in a vector
rel_value_of_pos_in_vector(vector = NULL, position = NULL)
vector |
a numeric vector |
position |
position of a vector |
a number indicating the relative value of the position in the vector
rel_value_of_pos_in_vector(vector = c(0, 100), position = 1.5) rel_value_of_pos_in_vector(vector = 2:4, position = 2) rel_value_of_pos_in_vector(vector = c(2, 4, 6), position = 2.5)