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
ersion of the variable you are using. More typing, >>> but less subject to confusion would be to use with(), eg: >>> >>> Cum_RespRate <- with(dec_mean_wt_R_nR, (Cum_R/Cum_n)*100) >>> >>> This way it is always clear where Cum_R and Cum_n are coming from.

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
clear where Cum_R and Cum_n are coming from. In >your code cum_R = Cum_R and cum_n = Cum_n so you could also use >> >> Cum_RespRate <- cum_R/cum_n)*100 >> >> - >> David L Carlson >> Department of Anthropology &g

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

2017-04-20 Thread BR_email
use Cum_RespRate <- cum_R/cum_n)*100 - David L Carlson Department of Anthropology Texas A&M University College Station, TX 77840-4352 -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of BR_email Sent: Thursday, April 20, 2017 12:10 PM To: r-he

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

2017-04-20 Thread Bruce Ratner PhD
arlson > Department of Anthropology > Texas A&M University > College Station, TX 77840-4352 > > -Original Message----- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of BR_email > Sent: Thursday, April 20, 2017 12:10 PM > To: r-help@r-project.org &g

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

2017-04-20 Thread David L Carlson
l Sent: Thursday, April 20, 2017 12:10 PM To: r-help@r-project.org Subject: [R] Looking for a package to replace xtable 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 f

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

[R] Looking for a package to replace xtable

2017-04-20 Thread BR_email
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 sum all columns, even though I only want