Hi All,
I would like to ask if it possible to start indexing a vector from 0:
x = 1:10
y = c(0,0,3,4,5,6,0,8,9,10)
I need to use y as an index to extract the values of x, BUT I cannot
cull/transform the 0s. What I would like is to start counting the
elements of x 0:9 rather than 1:10.
On Jul 24, 2005, at 4:29 PM, Federico Calboli wrote:
Hi All,
I would like to ask if it possible to start indexing a vector from 0:
x = 1:10
y = c(0,0,3,4,5,6,0,8,9,10)
I need to use y as an index to extract the values of x, BUT I cannot
cull/transform the 0s. What I would like is to
Federico Calboli [EMAIL PROTECTED] writes:
Hi All,
I would like to ask if it possible to start indexing a vector from 0:
x = 1:10
y = c(0,0,3,4,5,6,0,8,9,10)
I need to use y as an index to extract the values of x, BUT I cannot
cull/transform the 0s. What I would like is to start