Re: [R] Information Frequency problem calculation

2013-10-08 Thread arun
: "jarod...@libero.it" To: smartpink...@yahoo.com Cc: Sent: Tuesday, October 8, 2013 10:07 AM Subject: Re: [R] Information Frequency problem calculation Dear Master, thanks for your help!! I have this long database of breeder divide in two list. eache list have particular group rna i

Re: [R] Information Frequency problem calculation

2013-10-07 Thread David Carlson
pology Texas A&M University College Station, TX 77840-4352 -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of arun Sent: Monday, October 7, 2013 11:45 AM To: jarod...@libero.it Cc: R help Subject: Re: [R] Information Frequency p

Re: [R] Information Frequency problem calculation

2013-10-07 Thread arun
1])) #[1] 0 1 1 0 A.K. - Original Message - From: "jarod...@libero.it" To: r-help@r-project.org Cc: Sent: Monday, October 7, 2013 12:09 PM Subject: [R] Information Frequency problem calculation Dear All, I Have a dataframe like that: Name1 Name2 category mauro francesco

Re: [R] Information Frequency problem calculation

2013-10-07 Thread jim holtman
does 'table' do the job for you? > input <- read.table(text = "Name1 Name2 category + + mauro francesco E234 + luca giuseppe E5578 + luca franco E5569 + maria luca E4556", header = TRUE, as.is = TRUE) > input Name1 Name2 category 1 mauro francesco E234 2 luca giuseppeE5578 3

[R] Information Frequency problem calculation

2013-10-07 Thread jarod...@libero.it
Dear All, I Have a dataframe like that: Name1 Name2 category mauro francesco E234 luca giuseppe E5578 luca franco E5569 maria luca E4556 ... I would like to calculate the frequency of many time in my data I found in the list name: a<-read.table("pippo.csv",header=T,sep="\t") name1<-as.c