Re: [R] Help with tables in R

2014-07-03 Thread John Kane
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

Re: [R] Help with tables in R

2014-07-03 Thread David L Carlson
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 PIKAL Petr Sent: Thursday, July 3, 2014 8:42 AM To: Barry Lambert Cc: r-help@r-project.org Subject: Re: [R] Help with tables in R Hi Maybe yo

Re: [R] Help with tables in R

2014-07-03 Thread PIKAL Petr
nal Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Barry Lambert > Sent: Thursday, July 03, 2014 2:29 PM > To: Jeff Newmiller > Cc: r-help@r-project.org > Subject: Re: [R] Help with tables in R > > Thanks for the sugg

Re: [R] Help with tables in R

2014-07-03 Thread PIKAL Petr
Hi > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Jim Lemon > Sent: Thursday, July 03, 2014 12:17 PM > To: r-help@r-project.org > Cc: Barry Lambert > Subject: Re: [R] Help with tables in R >

Re: [R] Help with tables in R

2014-07-03 Thread Barry Lambert
Thanks for the suggestions Jeff. I have added some text below that will hopefully clarify my question and more closely follow the guidelines. Barry -- Sorry for the confusing first post. I have edited for clarity and included some sample data. Clarified summary of problem: I have an excel spread

Re: [R] Help with tables in R

2014-07-03 Thread Duncan Murdoch
On 02/07/2014, 10:33 PM, Barry Lambert wrote: > 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 univer

Re: [R] Help with tables in R

2014-07-03 Thread Jim Lemon
On Wed, 2 Jul 2014 09:33:12 PM Barry Lambert wrote: > 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

Re: [R] Help with tables in R

2014-07-03 Thread Jeff Newmiller
Your question is vague. You say you have code that does what you want it to, yet do not share an example of it as a starting point, or explain what you have not been able to do. It is the nature of the Internet that you have to be precise in describing your problems and desired solutions. When

Re: [R] Help with tables in R

2014-07-03 Thread PIKAL Petr
Hi Hm. Cooperation of R with excel can be probably done by Rexcel package. Without more detailed information how do you want to use R in connection with Excel you probably do not get more precise answer. For summaries use ?aggregate or maybe ?sapply For counting item occurance ?table, ?xtabs o