Displaying 1 result from an estimated 1 matches for "alini".
Did you mean:
alina
2007 Oct 23
4
Replace values on seq
Hey guys, sorry for the inconvenience (this might be a hundred times
answered question), but I have been searching a while and gave up
about the following:
I have the following, table and data:
table <- seq(255, 0, by=-1)
data <- c(1,8,...) <--- doesn't matter what's in here
Which would be the most efficient way to replace each data value, v_i,
by table[v_i + 1] ?
And, maybe