[R] Xtable with long column headings/names

2017-05-15 Thread Bruce Ratner PhD
R-help: I'm using xtable that produces a table in html with one-line for each of the long column headings/names. I would like to word wrap the column headings to break into two-lines. Any suggestion as to which argument needs adjustment is appreciated. Bruce

Re: [R] functions similar to glm

2017-05-11 Thread Bruce Ratner PhD
Dear David: Thank you for your excellent reply. Apparently, you are a in the know. Again, thanks. Bruce __ Bruce Ratner PhD The Significant Statistician™ (516) 791-3544 Statistical Predictive Analytics -- www.DMSTAT1.com Machine-Learning Data Mining -- www.GenIQ.net > On May

Re: [R] functions similar to glm

2017-05-11 Thread Bruce Ratner PhD
exponential family? Such a list of course cannot be "listed". I would >>> expect the package documentation, especially vignettes, explains this in >>> any case. Pls check. >>> >>> Hopefully, you'll get a more authoritative response if I'm wrong. >>> &

[R] functions similar to glm

2017-05-11 Thread Bruce Ratner PhD
R-helpers: In the "glmulti" package, it states parameter fitfunction assumes functions similar to glm, but doesn't list them. What are the functions similar to glm that can be used with glmulti? Bruce __ R-help@r-project.org mailing list -- To

Re: [R] Formatting column displays

2017-05-05 Thread Bruce Ratner PhD
Thanks, Bill. Bruce __ > On May 5, 2017, at 5:54 PM, William Dunlap wrote: > > Use Google: a search for "R Reporter package" shows that the package is named > "ReporteRs". > > Bill Dunlap > TIBCO Software > wdunlap tibco.com > >> On Fri, May 5, 2017 at

Re: [R] Formatting column displays

2017-05-05 Thread Bruce Ratner PhD
p reports and > it is well integrated with Rstudio. knitr works behind the scenes, and I > believe it can even create a Microsoft Word document though pandoc, without > the need for ReporteR (but I have never tried, so I might be wrong). > > Best, > Ulrik > >> On Fri,

Re: [R] Formatting column displays

2017-05-05 Thread Bruce Ratner PhD
t Word files directly with various formatting options, but it > doesn't play well with the other tools. > -- > Sent from my phone. Please excuse my brevity. > >> On May 5, 2017 5:08:19 AM PDT, Bruce Ratner PhD <b...@dmstat1.com> wrote: >> R-helpers: >> I nee

Re: [R] Formatting column displays

2017-05-05 Thread Bruce Ratner PhD
gt; wrote: > > Hi Bruce, > > display as in the console or as a table for presentation? > > For the latter, look at sprintf: > > sprintf("%,1f", 1) > sprintf("%.2f", 2.5678) > sprintf("$%.3f", 2.5678) > > HTH > Ulrik > >&

[R] Formatting column displays

2017-05-05 Thread Bruce Ratner PhD
R-helpers: I need some references for formatting the display of my data frame columns. Any guidance will be appreciated. Bruce ~~ I have a date frame with one column as an integer for which I want a comma display, one column consisting of dollar amounts, one column for which I want a display

Re: [R] Cannot load library(glmulti), because: Error: package ‘rJava’ could not be loaded

2017-05-03 Thread Bruce Ratner PhD
st reply and trouble shooting. It does not go unnoticed. Bruce __________ Bruce Ratner PhD The Significant Statistician™ (516) 791-3544 Statistical Predictive Analytics -- www.DMSTAT1.com Machine-Learning Data Mining -- www.GenIQ.net > On May 3, 2017, at 10:03 AM, Jeff Newmiller <jdnew

[R] "Copy-pastable" output of 1000 plus variables

2017-04-23 Thread Bruce Ratner PhD
R-helpers: I'm reading "Advanced R" (Wickham), which provides his way, quoted below, of keeping variables. This cherry-picking approach clearly is not practical with a large dataset. "If you know the columns you don’t want, use set operations to work out which colums to keep:

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

2017-04-21 Thread Bruce Ratner PhD
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 a happenin'. Bruce __ Bruce Ratner PhD

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

2017-04-21 Thread Bruce Ratner PhD
resample from a large sample than the original. (I know this is viewed by some as unorthodox.) Your point: I only need Response as a column vector. That said, what would you alter, please? Thanks for your time. Regards, Bruce __ Bruce Ratner PhD The Significant Statistician™ (516) 791

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

2017-04-21 Thread Bruce Ratner PhD
David: Got it! Thanks, again. 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 21, 2017, at 10:56 AM, David L Carlson <dcarl...@tamu.edu&

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 <jdnew...@dcn.davis.ca.us> wrote: >

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, Davi

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

Re: [R] Setting .Rprofile for RStudio on a Windows 7 x64bit

2017-04-18 Thread Bruce Ratner PhD
did me in, and which created ill feelings among several R-helpers towards me. Regards, 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 18, 2017, a

Re: [R] Setting .Rprofile for RStudio on a Windows 7 x64bit

2017-04-17 Thread Bruce Ratner PhD
Bert: I used note pad under Administrator. The code: options(prompt="R> ") set.seed(12345) Bruce ______ Bruce Ratner PhD The Significant Statistician™ (516) 791-3544 Statistical Predictive Analytics -- www.DMSTAT1.com Machine-Learning Data Mining -- www.GenIQ.net >

Re: [R] Setting .Rprofile for RStudio on a Windows 7 x64bit

2017-04-17 Thread Bruce Ratner PhD
David: When I launch Rstudio the effects of the Rprofile do not show, e.g., I want the prompt to be "R> " instead of the default "> ". The former doesn't show. Bruce ______ Bruce Ratner PhD The Significant Statistician™ (516) 791-3544 Statistical Predictive An

Re: [R] Setting .Rprofile for RStudio on a Windows 7 x64bit

2017-04-16 Thread Bruce Ratner PhD
I politely informed him that I have done the basic reading, etc? Regardless, you are professional, helpful, and very proper. Unfortunately, I don't think I will use R-help, in fear of Boris. Bruce __________ Bruce Ratner PhD The Significant Statistician™ Statistical Predictive Analytic

Re: [R] Too strange that I cannot install several packages

2017-04-10 Thread Bruce Ratner PhD
Dear William: Thank you for your informative reply. I simply got lost in the forest, as I have indeed been reading several R books. As I tell my students, "every bright mind has a dull spot." Best Regards, Bruce ______ Bruce Ratner PhD The Significant Statistician™ (516

Re: [R] Too strange that I cannot install several packages

2017-04-10 Thread Bruce Ratner PhD
Dear Harold: If you do not want to answer my questions, then do not reply. Warmest Regards, 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 10, 2

Re: [R] How can output tables be converted to data files?

2017-04-05 Thread Bruce Ratner PhD
Thanks, David. __ Bruce Ratner PhD > On Apr 5, 2017, at 5:49 PM, David L Carlson <dcarl...@tamu.edu> wrote: > > Data files is pretty vague. If you save the output of a function such as > rcorr(), you can extract any of the parts you need. Step 1 is to read th

Re: [R] How can I delete column yhat AND STILL retain the order of Response?

2017-04-01 Thread Bruce Ratner PhD
Jeff: Thanks for the info. Sorry for the misstep. 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 1, 2017, at 3:37 PM, Jeff Newmiller <

[R] Taking the sum of only some columns of a data frame

2017-03-31 Thread Bruce Ratner PhD
ned to the original data.frame, yielding a data.frame with five columns and eleven rows. Thanks, in advance. Bruce __________ Bruce Ratner PhD The Significant Statistician™ [[alternative HTML version deleted]] __ R-help@r-proj

Re: [R] I want to delete "yhat" and transpose "Response" into a vector

2017-03-29 Thread Bruce Ratner PhD
Duncan, it's not a homework assignment. Thanks. Bruce __ > On Mar 29, 2017, at 6:29 PM, Duncan Murdoch wrote: > >> On 29/03/2017 6:14 PM, BR_email wrote: >> Hi R'ers: >> I need a little help. >> Thanks in advance. >> Bruce >> >> dd<-

Re: [R] I want to delete "yhat" and transpose "Response" into a vector

2017-03-29 Thread Bruce Ratner PhD
Duncan, it's not a homework assignment. Jim, thank you. Bruce __ Bruce Ratner PhD The Significant Statistician™ (516) 791-3544 Statistical Predictive Analytics -- www.DMSTAT1.com Machine-Learning Data Mining -- www.GenIQ.net > On Mar 29, 2017, at 6:29 PM, Duncan Murd

Re: [R] Setting up a .Rprofile file

2017-03-24 Thread Bruce Ratner PhD
__ Bruce Ratner PhD The Significant Statistician™ (516) 791-3544 Statistical Predictive Analytics -- www.DMSTAT1.com Machine-Learning Data Mining -- www.GenIQ.net > On Mar 24, 2017, at 3:48 AM, Enrico Schumann <e...@enricoschumann.net> wrote: > > On Thu, 23 Mar 201

[R] Setting up a .Rprofile file

2017-03-24 Thread Bruce Ratner PhD
Hi R'ers: I would like to setting up a .Rprofile file with setwd("C:/R_WorkDir") set.seed(12345) options (prompt "> R ") --- Can you help providing the code or instructive link, I've find many links, but I can't figure it out? Thanks. Bruce ______ Bruce Rat