search for: listofvectors

Displaying 1 result from an estimated 1 matches for "listofvectors".

2003 Oct 16
3
indexing a particular element in a list of vectors
I have a "list" of character vectors. I'm trying to see if there is a way (in a single line, without a loop) to pull out the first element of all the vectors contained in the list. listOfVectors[1:length(listOfVectors][1] doesn't work. ========================== If you want more details.. Here is my listOfVectors which is called "uuu" > uuu[order(uuu)] [[1]] [1] "pt1pg" "multi.expr" [[2]] [1] "1ng" "ml"...