Hi,
How is it possible to extract athe elements of a list of vectors in a fixed position? suppose that I have a list of 2-element vectors, how can I extract the 2nd element of all vectors in the list? Can it be done with indexing and not by element name?

Thanks 

carol

So in this example, I want to extract 2 and 4
v = list (c(1,2), c(3, 4))
 
> v
[[1]]
[1] 1 2

[[2]]
[1] 3 4



       
---------------------------------
Never miss a thing.   Make Yahoo your homepage.
	[[alternative HTML version deleted]]

