Main Page | Report this Page
 
   
Science Forum Index  »  Statistics - Education Forum  »  R and summary
Page 1 of 1    
Author Message
Martin Kaffanke
Posted: Wed Feb 06, 2008 7:05 am
Guest
Hi there!

I'd like to make some descriptives at the beginning. I have a 2x2x2
Design, how can I tell R to show the summery, how many people where in
each group?


Should look like

A B
a1 a2 b1 b2
c1 x x x x
C
c2 x x x x

where I have A B and C in a data frame and a1, a2, b1, b2, c1, c2, are
the levels of A B and C.

What can I search the manuals?

Thanks,
Martin
John Kane
Posted: Wed Feb 06, 2008 10:33 am
Guest
On Feb 6, 12:05 pm, Martin Kaffanke <martin.kaffa...@gmx.at> wrote:
Quote:
Hi there!

I'd like to make some descriptives at the beginning. I have a 2x2x2
Design, how can I tell R to show the summery, how many people where in
each group?

Should look like

A B
a1 a2 b1 b2
c1 x x x x
C
c2 x x x x

where I have A B and C in a data frame and a1, a2, b1, b2, c1, c2, are
the levels of A B and C.

What can I search the manuals?

Thanks,
Martin

This question is better posed in the R-help list. See the main R site
http://www.r-project.org/ for the link to mailing lists (left side of
page).

Below that is a link to documentation which will take you to manuals,
books and tutorials

Have a look at such things as ?summary ?apply for some ideas of what
you may want. At the moment you have not really supplied enough
information about the structure of the data to make for a better
response.
John Kane, Kingston ON Canada
Philipp Pagel
Posted: Wed Feb 06, 2008 11:59 pm
Guest
Martin Kaffanke <martin.kaffanke@gmx.at> wrote:

Quote:
I'd like to make some descriptives at the beginning. I have a 2x2x2
Design, how can I tell R to show the summery, how many people where in
each group?


Quote:
Should look like

A B
a1 a2 b1 b2
c1 x x x x
C
c2 x x x x

where I have A B and C in a data frame and a1, a2, b1, b2, c1, c2, are
the levels of A B and C.

I guess table and ftable may be what you are looking for. And I second
the recommendation to move on to the R mailing list.

cu
Philipp

--
Dr. Philipp Pagel Tel. +49-8161-71 2131
Lehrstuhl f. Genomorientierte Bioinformatik Fax. +49-8161-71 2186
Technische Universität München
http://mips.gsf.de/staff/pagel
 
Page 1 of 1       All times are GMT - 5 Hours
The time now is Fri Sep 05, 2008 1:51 am