Hi all:
Im kind of new on R and I need help changing a table. The thing is, i read a
file on R using the read.table command and the table looks like this:
Item      3d Plot     XY plot    
001          1             0            
001          0             1            
001          0             1      
002          1             0
002          1             0
002          0             1
...            ..             ..
And what I want to do is generate a new table by item with the sum of the
numbres, the next one is an example:

Item     3d Plot       XY plot
001          1              2
002          2              1
003          ...            ...

Does anyone know how to do this? Thanks in advance, help is greatly
appreciated
-- 
View this message in context: 
http://www.nabble.com/Need-help-on-changing-a-table-tf4929014.html#a14107837
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to