Re: [R] Using table to get frequencies of several factors at once

2013-01-17 Thread Greg Snow
The tables package may be of use to you for this. On Fri, Jan 11, 2013 at 4:17 AM, Pancho Mulongeni < p.mulong...@namibia.pharmaccess.org> wrote: > Hi, I have a dataframe with n columns, but I am only looking at five of > them. And lots of rows, over 700. > So I would like to find frequencies fo

Re: [R] Using table to get frequencies of several factors at once

2013-01-16 Thread S Ellison
lf Of Pancho Mulongeni > Sent: 11 January 2013 11:18 > To: R help > Subject: [R] Using table to get frequencies of several factors at once > > Hi, I have a dataframe with n columns, but I am only looking > at five of them. And lots of rows, over 700. > So I would like to

Re: [R] Using table to get frequencies of several factors at once

2013-01-14 Thread Pancho Mulongeni
Yes thank you, that worked. -Original Message- From: John Kane [mailto:jrkrid...@inbox.com] Sent: Friday, January 11, 2013 4:23 PM To: Pancho Mulongeni; R help Subject: RE: [R] Using table to get frequencies of several factors at once Does something like this do what you want? It

Re: [R] Using table to get frequencies of several factors at once

2013-01-11 Thread John Kane
ent: Fri, 11 Jan 2013 11:17:42 + > To: r-help@r-project.org > Subject: [R] Using table to get frequencies of several factors at once > > Hi, I have a dataframe with n columns, but I am only looking at five of > them. And lots of rows, over 700. > So I would like to find frequ

[R] Using table to get frequencies of several factors at once

2013-01-11 Thread Pancho Mulongeni
Hi, I have a dataframe with n columns, but I am only looking at five of them. And lots of rows, over 700. So I would like to find frequencies for each of the numeric columns (variables) using the table function. However, is there a fast way to produce a frequency table where the 5 rows represen