Thanks for all your help guys - turns out it was a very simple request,
table1<-table(DF$COLUMN1,DF$COLUMN2)
did the trick. I've much to learn...
Cheers.
sedm1000 wrote:
>
> Apologies for the novice question, but this is likely beyond my google
> searching range..
>
> I am trying to creat
On Jun 2, 2009, at 11:01 PM, milton ruser wrote:
Hi there,
It is not so many ellegant, but can works.
df<-read.table(stdin(), head=T, sep=",")
Name,Fraction
Harry,335/335
Harry,124/506
Harry,124/506
Dick,133
Tom,335/335
Tom,335/335
At this point one could simply used:
> table(df)
F
Hi there,
It is not so many ellegant, but can works.
df<-read.table(stdin(), head=T, sep=",")
Name,Fraction
Harry,335/335
Harry,124/506
Harry,124/506
Dick,133
Tom,335/335
Tom,335/335
df.freq<-data.frame(table(df))
df.freq
df.freq.wide<-reshape(df.freq, v.names="Freq", idvar="Name",
timevar="Fract
Apologies for the novice question, but this is likely beyond my google
searching range..
I am trying to create a table from the summaries of a file. The 2 column
data table looks like;
Harry 335/335
Harry 124/506
Harry 124/506
Dick 133
Tom335/335
Tom335/3
4 matches
Mail list logo