[R] Help with tables in R

John Kane jrkrideau at inbox.com
Thu Jul 3 21:13:50 CEST 2014


I see that others have answered the question much better than I could. 
However assumng you are getting the data in the layout you want you may also want to look at the xtable package in R as a very handy alternative to stargazer if you want to produce some good-loking tables in some flavour of LaTeX.  

Odfweave seems to produce good tables in OpenOffice/LibreOffice.

John Kane
Kingston ON Canada


> -----Original Message-----
> From: barrylambert at gmail.com
> Sent: Wed, 2 Jul 2014 21:33:12 -0500
> To: r-help at r-project.org
> Subject: [R] Help with tables in R
> 
> I am a new convert to R (from SAS).  I am a research scientist and most
> of
> my
> use of SAS was in data analysis.  Recently, I have been wanting to use R
> to
> create a simple, reliable way to summarize a dataset of student
> demographics
> for a university.
> The spreadsheet has a row for every student registered at the university
> for
> each term since fall 2010 with the following information about each
> student
> in columns:
> Columns are the following: Term, College, Program, Campus, Gender,
> Ethnicity, Age.
> 
> I have created summary tables in Excel using if/then type formulas to
> select
> data and count the number of female students in program A at location 3,
> etc.
> 
> I have written some R code to create some figures that generally meet my
> needs.
> I would like to find a way to have R populate some tables with this type
> of
> information.
> 
> An example of my excel sheets are attached.
> 
> 
> Any suggestions will be appreciated.
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

____________________________________________________________
FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop!



More information about the R-help mailing list