[R] Delete components of a list

Lisa lisajca at gmail.com
Mon Jan 25 20:37:04 CET 2010


Dear all,

I have a question about deleting components of a list. For example, I have a
list that looks like this:

[[1]]
var1 var2 var3
   1    3    4     
   2    2    1   

[[2]]
var1 var2 var3
   2    5    1     
   2    1    7   

[[3]]
var1 var2 var3
   1    6    7     
   3    8    4   

How to delete, say, the first columns of the list or the second rows? Thank
in advance.

Lisa

-- 
View this message in context: http://n4.nabble.com/Delete-components-of-a-list-tp1289732p1289732.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list