Re: [R] compare and count data

2013-01-21 Thread arun
numeric constant in kuasa - function(1 Thank you so much Arun for your help. From: arun smartpink...@yahoo.com To: Roslina Zakaria zrosl...@yahoo.com Cc: R help r-help@r-project.org Sent: Monday, January 21, 2013 2:12 PM Subject: Re: [R] compare and count data HI, Your example data had only

Re: [R] compare and count data

2013-01-21 Thread David L Carlson
- From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- project.org] On Behalf Of Jim Lemon Sent: Monday, January 21, 2013 1:17 AM To: Roslina Zakaria Cc: r-help@r-project.org Subject: Re: [R] compare and count data On 01/21/2013 04:39 PM, Roslina Zakaria wrote: Dear r-users, I

Re: [R] compare and count data

2013-01-20 Thread Jim Lemon
On 01/21/2013 04:39 PM, Roslina Zakaria wrote: Dear r-users, I have these data below: I would like to compare each column with a certain value and count how many in each column less than that specified value. odd column (1,3,5) will compare with 1.61 and even column (2,4,6) will compare

Re: [R] compare and count data

2013-01-20 Thread arun
HI, Your example data had only 4 columns mydata-read.table(text=   3.014505 62.96425 3.014505 138.0673   2.817503 56.03400 2.817503 133.3411   2.976227 47.12192 2.976227 139.2438   2.825495 75.05284 2.825495 129.2959   2.793500 52.75190 2.793500 130.9874   3.006333 54.56210 3.006333 136.2982