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
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
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
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>
&
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
'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
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
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
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
>
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
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
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
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
&
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
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
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
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
___
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
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
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
#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
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
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
23 matches
Mail list logo