Re: [R] Looking for a package to replace xtable

2017-04-22 Thread BR_email
Jeff: It does what I want. Thanks. Bruce Bruce Ratner, Ph.D. The Significant Statistician™ (516) 791-3544 Statistical Predictive Analtyics -- www.DMSTAT1.com Machine-Learning Data Mining and Modeling -- www.GenIQ.net Jeff Newmiller wrote: Response5x <- Response[ rep ( seq_along( Response[[1

Re: [R] Looking for a package to replace xtable

2017-04-22 Thread BR_email
ata/DecileTable.html", : object 'DECILE_TABLE' not found R> Bruce Ratner, Ph.D. The Significant Statistician™ (516) 791-3544 Statistical Predictive Analtyics -- www.DMSTAT1.com Machine-Learning Data Mining and Modeling -- www.GenIQ.net David L Carlson wrote: I've att

Re: [R] Looking for a package to replace xtable

2017-04-22 Thread Jeff Newmiller
TABLE' not found R> R> R> >> print.xtable(DECILE_TABLE, >> type="html",file="C:/R_Data/DecileTable.html", >include.rownames=FALSE) >> Error in print.xtable(DECILE_TABLE, type = "html", file = >> "C:/R_Data/DecileTable.h

Re: [R] Looking for a package to replace xtable

2017-04-22 Thread peter dalgaard
CILE_TABLE, type="html",file="C:/R_Data/DecileTable.html", >> include.rownames=FALSE) Error in print.xtable(DECILE_TABLE, type = "html", >> file = "C:/R_Data/DecileTable.html", : object 'DECILE_TABLE' not found >> >> R> &

Re: [R] Looking for a package to replace xtable

2017-04-22 Thread Spencer Graves
BLE' not found R> Bruce Ratner, Ph.D. The Significant Statistician™ (516) 791-3544 Statistical Predictive Analtyics -- www.DMSTAT1.com Machine-Learning Data Mining and Modeling -- www.GenIQ.net David L Carlson wrote: I've attached a modification of your script file (called

Re: [R] Looking for a package to replace xtable

2017-04-22 Thread BR_email
'DECILE_TABLE' not found R> Bruce Ratner, Ph.D. The Significant Statistician™ (516) 791-3544 Statistical Predictive Analtyics -- www.DMSTAT1.com Machine-Learning Data Mining and Modeling -- www.GenIQ.net David L Carlson wrote: I've attached a modification of your script file

Re: [R] Looking for a package to replace xtable

2017-04-21 Thread BR_email
ant Statistician™ (516) 791-3544 Statistical Predictive Analtyics -- www.DMSTAT1.com Machine-Learning Data Mining and Modeling -- www.GenIQ.net David L Carlson wrote: I've attached a modification of your script file (called .txt so it doesn't get stripped). See if this does what you want

Re: [R] Looking for a package to replace xtable

2017-04-21 Thread David L Carlson
roject.org Subject: Re: [R] Looking for a package to replace xtable David: Correction: I do need a data frame because from the order Response column I create a data frame as per all my calculated columns, yielding the five column decile table. I used your latest corrections but something buggy is

Re: [R] Looking for a package to replace xtable

2017-04-21 Thread Bruce Ratner PhD
random values and then order the >> first by the second. But rbinom() is selecting random values so what is the >> purpose of randomizing random values? If the real data consist of a vector >> of 1's and 0's and those need to be randomized, sample(data) will do it for >

Re: [R] Looking for a package to replace xtable

2017-04-21 Thread Bruce Ratner PhD
nal Message----- > From: BR_email [mailto:b...@dmstat1.com] > Sent: Friday, April 21, 2017 1:22 PM > To: David L Carlson ; r-help@r-project.org > Subject: Re: [R] Looking for a package to replace xtable > > David: > I tried somethings and got a little more working. > Now, I am

Re: [R] Looking for a package to replace xtable

2017-04-21 Thread David L Carlson
7 1:22 PM To: David L Carlson ; r-help@r-project.org Subject: Re: [R] Looking for a package to replace xtable David: I tried somethings and got a little more working. Now, I am struck at last line provided: "dec_mean<- aggregate(Response ~ decc, dd, mean)" Any help is appreciated. B

Re: [R] Looking for a package to replace xtable

2017-04-21 Thread BR_email
anges and save the file. If you have Microsoft Excel and Word, another fallback solution is to read the .html file into Excel where you have a wide variety of styles. David C -Original Message- From: BR_email [mailto:b...@dmstat1.com] Sent: Thursday, April 20, 2017 4:31 PM To: David L Ca

Re: [R] Looking for a package to replace xtable

2017-04-21 Thread Bert Gunter
pen the .html file into >> a WYSIWIG html editor such as BlueGriffon, make the changes and save the >> file. If you have Microsoft Excel and Word, another fallback solution is to >> read the .html file into Excel where you have a wide variety of styles. >> >> David C &

Re: [R] Looking for a package to replace xtable

2017-04-21 Thread BR_email
017 4:31 PM To: David L Carlson ; r-help@r-project.org Subject: Re: [R] Looking for a package to replace xtable David: All is perfect, almost - after I ran your corrections. Is there a way I can have more control of the column names, i.e., not be restricted to abbreviations headings, and center

Re: [R] Looking for a package to replace xtable

2017-04-21 Thread Bruce Ratner PhD
riginal Message- > From: BR_email [mailto:b...@dmstat1.com] > Sent: Thursday, April 20, 2017 4:31 PM > To: David L Carlson ; r-help@r-project.org > Subject: Re: [R] Looking for a package to replace xtable > > David: > All is perfect, almost - after I ran your corrections. > Is

Re: [R] Looking for a package to replace xtable

2017-04-21 Thread David L Carlson
lto:b...@dmstat1.com] Sent: Thursday, April 20, 2017 4:31 PM To: David L Carlson ; r-help@r-project.org Subject: Re: [R] Looking for a package to replace xtable David: All is perfect, almost - after I ran your corrections. Is there a way I can have more control of the column names, i.e., not be restrict

Re: [R] Looking for a package to replace xtable

2017-04-21 Thread Bruce Ratner PhD
Thanks, Jeff. Bruce __ Bruce Ratner PhD The Significant Statistician™ (516) 791-3544 Statistical Predictive Analytics -- www.DMSTAT1.com Machine-Learning Data Mining -- www.GenIQ.net > On Apr 20, 2017, at 7:15 PM, Jeff Newmiller wrote: > > ReportR package ___

Re: [R] Looking for a package to replace xtable

2017-04-20 Thread Jeff Newmiller
Since you are generating html you can use html syntax. You might also be interested in the ReportR package. -- Sent from my phone. Please excuse my brevity. On April 20, 2017 2:30:43 PM PDT, BR_email wrote: >David: >All is perfect, almost - after I ran your corrections. >Is there a way I can h

Re: [R] Looking for a package to replace xtable

2017-04-20 Thread BR_email
David: All is perfect, almost - after I ran your corrections. Is there a way I can have more control of the column names, i.e., not be restricted to abbreviations headings, and center-justify? Thanks a lot, nice. Bruce David L Carlson wrote: #1 You can remove the rownames by adding the argu

Re: [R] Looking for a package to replace xtable

2017-04-20 Thread Bruce Ratner PhD
David: Thanks so much. I will recode and let you know how it works out. Bruce __ Bruce Ratner PhD The Significant Statistician™ (516) 791-3544 Statistical Predictive Analytics -- www.DMSTAT1.com Machine-Learning Data Mining -- www.GenIQ.net > On Apr 20, 2017, at 4:31 PM, David L Ca

Re: [R] Looking for a package to replace xtable

2017-04-20 Thread David L Carlson
#1 You can remove the rownames by adding the argument include.rownames=FALSE to print.xtable(): print.xtable(DECILE_TABLE, type="html",file="DecileTable.html", include.rownames=FALSE) #2 Prevent data.frame from converting the first column to a factor and use NAs for the columns where you don't

Re: [R] Looking for a package to replace xtable

2017-04-20 Thread Bruce Ratner PhD
Duncan: Thanks. I've exhausted my search for a simple table package that also allows for column sums. If you are not familiar with the decile table, you will find it quite embedded with much insight for predominance of virtually any model. Regards, Bruce __ Bruce Ratner PhD The Sig

Re: [R] Looking for a package to replace xtable

2017-04-20 Thread Duncan Murdoch
On 20/04/2017 1:09 PM, BR_email wrote: R-helper: Below, code for generating a decile table. I am using the xtable package, but it is not quite right for the output. Issue #1. xtable inserts an unwanted column, before the first derived column DECILE Issue #2. In the last line "Total" I manually su