Re: [R] Calculate percentages in a table of data

2007-11-09 Thread Jim Lemon
Luca Penasa wrote: Hi everybody, Im a newbie, but i hope someone can help me in this work... Ill try to explain what i need to do in the best way, but my english is not good... Iv imported a big table of data, this table is something like this: 255 0 255 0 255 255 255 0 255 0 255 255 255

Re: [R] Calculate percentages in a table of data

2007-11-08 Thread jim holtman
This will do the calculations and the plot: x - scan(textConnection(255 0 255 0 255 255 255 0 255 0 + 255 255 255 255 0 255 255 0 255 0 + 255 255 255 255 255 255 255 0 255 0 + 255 255 255 255 0 255 255 0 255 0 + 255 255 0 255 255 255 255 0 255 0 + 255 255 255 0 255 0 0 255 0 255), what=0) Read

[R] Calculate percentages in a table of data

2007-11-08 Thread Luca Penasa
Hi everybody, Im a newbie, but i hope someone can help me in this work... Ill try to explain what i need to do in the best way, but my english is not good... Iv imported a big table of data, this table is something like this: 255 0 255 0 255 255 255 0 255 0 255 255 255 255 0 255 255 0 255 0 255