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

Re: [R] Help with {tables} package

2014-01-02 Thread Duncan Murdoch
On 14-01-02 5:36 PM, Lars Bishop wrote: Dear list, I'm most likely doing something wrong, but I'm getting an error message in tab2 below (tab1 is fine). Any hint is much appreciated. This was a bug in tables, which I've tracked down. I'll soon upload an update to R-forge, later to CRAN. Loo

Re: [R] Help with tables

2013-06-28 Thread arun
HI, May be this helps: dat1<- read.table(text=" date1 time  date    timeSec topic pupilId correct 02/01/2013 14:58 02/01/2013 140323 fdp.fdp 40 TRUE 02/01/2013 14:59 02/01/2013 140372 fdp.fdp 150 TRUE 03/01/2013 11:23 03/01/2013 213833 fdp.percentage_calc_foundation 15 TRUE 03/0

Re: [R] Help with tables

2007-12-03 Thread T.K.
d. > > I don't know if this is the best way to make this kind of tables, but at > least it worked well on weekend late at night :P > > If someone have a better (faster) way to make them please help me. > > Warm regards from Mexico. > > > > -Mensaje original

Re: [R] Help with tables

2007-12-03 Thread Alejandro Rodríguez
) way to make them please help me. Warm regards from Mexico. -Mensaje original- De: Petr PIKAL [mailto:[EMAIL PROTECTED] Enviado el: Lunes, 03 de Diciembre de 2007 02:30 a.m. Para: [EMAIL PROTECTED] CC: r-help@r-project.org Asunto: Re: [R] Help with tables Hi I am not sure but if I re

Re: [R] Help with tables

2007-12-03 Thread Petr PIKAL
Hi I am not sure but if I remember correctly I had seen similar output in Frank Harrel's book. So you could check some function from Hmisc package, probably summarize. Regards Petr [EMAIL PROTECTED] [EMAIL PROTECTED] napsal dne 02.12.2007 03:16:09: > I guess you can get the result by > 1) co

Re: [R] Help with tables

2007-12-01 Thread T.K.
I guess you can get the result by 1) concatenating all the variables (P2_A, P2_B, P2_C) into one variable , 2) replicating segment membership properly, 3) make the table of 1) and 2) For example, the following may do the job. > ## (1) Generate data set > # Set random seed > set.seed(0) > > n.obs