[R] Syntax highlighting

2018-02-13 Thread Sigbert Klinke
Hi, I would like know if there are any plans for some "standardized" syntax highlighting of R code? * Currently I'm using minted for my LaTeX slides with pygmentize and I do not know what scheme is used for highlighting the R code. * RStudio uses (as default) TextMate (Text editor for MacOS)

Re: [R] Syntax highlighting

2018-02-13 Thread Loris Bennett
Hi Sigbert, Sigbert Klinke writes: > Hi, > > I would like know if there are any plans for some "standardized" > syntax highlighting of R code? > > * Currently I'm using minted for my LaTeX slides with pygmentize and I > do not know what scheme is used for highlighting the R code. > * RStudio use

Re: [R] plotting the regression coefficients

2018-02-13 Thread PIKAL Petr
Hi Richard Yes you are right, I did not check my answer enough. Cheers Petr > -Original Message- > From: Richard M. Heiberger [mailto:r...@temple.edu] > Sent: Monday, February 12, 2018 6:10 PM > To: PIKAL Petr > Cc: greg holly ; r-help mailing list project.org> > Subject: Re: [R] plott

Re: [R] plotting the regression coefficients

2018-02-13 Thread PIKAL Petr
Hi scale_colour_gradient(“red”, “blue”) should do the trick. Actually I found it by Google ggplot colour http://www.cookbook-r.com/Graphs/Colors_(ggplot2)/ http://www.sthda.com/english/wiki/ggplot2-colors-how-to-change-colors-automatically-and-manually#gradient-colors-for-scatter-plots question. So

[R] Suppress horizontal mean line in beanplot()

2018-02-13 Thread Samuel Knapp
Hi, I would like to use the beanplot() function from the beanplot package. Unfortunately, I can't find out how to suppress the dashed horizontal line, that shows the overall mean. In the help I've found the argument "overallline", but it only allows for "mean" or "median" . I have tried ov

Re: [R] plotting the regression coefficients

2018-02-13 Thread greg holly
Hi Petr; Thanks for this. I have used scale_colour_gradient before but could not get what I am looking for. I will check the links you provide to get Idea. Once again thanks for your support and help. Rgerads, Greg On Tue, Feb 13, 2018 at 5:34 PM, PIKAL Petr wrote: > Hi > > scale_colour_gra

Re: [R] [FORGED] Suppress horizontal mean line in beanplot()

2018-02-13 Thread Paul Murrell
Hi Does this do the trick ... ? library(beanplot) beanplot(count ~ spray, data = InsectSprays) library(gridGraphics) grid.echo() grid.remove("abline", grep=TRUE) Paul On 14/02/18 07:31, Samuel Knapp wrote: Hi, I would like to use the beanplot() function from the beanplot package. Unfortuna

Re: [R] Suppress horizontal mean line in beanplot()

2018-02-13 Thread Mohammad Tanvir Ahamed via R-help
hi,  Check this  beanplot(count ~ spray, data = InsectSprays, what = c(FALSE, TRUE, TRUE, TRUE)) >From R function help :  what :  a vector of four booleans describing what to plot. In the following order, these booleans stand for the total average line, the beans, the bean average, and the bea

Re: [R] Suppress horizontal mean line in beanplot()

2018-02-13 Thread Bert Gunter
The package docs seem to provide your answer -- you just need to read them more carefully: See the "what" argument of ?beanplot. Setting the first entry of the vector to 0 would seem to suppress the overall mean. Apologies if I've misread/misinterpreted. Cheers, Bert Bert Gunter "The trouble

[R] LSmeans and lsmeans

2018-02-13 Thread Pius Mwansa
Is there a difference between LSmeans and lsmeans functions in R? Thanks, Pius __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/p

[R] Best Optimization Routines

2018-02-13 Thread JamesRyan(Ryan James)/E&P North America Business Division
I have a set of data, the production of oil from a well.  And an equation to predict that forecast.  The equation requires 5 input variables which are real numbers with upper and lower bounds, 1 input variable which must be an integer and 1 input variable which can be 1 of 2 string variables. 

[R] Tukey and extracting letters in multcomp

2018-02-13 Thread Rachel S Smith
Hi Lauren, Did you ever receive an answer on this? I’ve been having the same errors, and am stumped, so I’d love to hear how you sorted this out with your models. Thanks for your help! Cheers, Rachel -- Rachel Smith PhD Candidate Odum School of Ecology University of Georgia Athens, GA 30602

Re: [R] LSmeans and lsmeans

2018-02-13 Thread Bert Gunter
In what packages? -- Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Tue, Feb 13, 2018 at 11:17 AM, Pius Mwansa wrote: > Is there a difference between

Re: [R] LSmeans and lsmeans

2018-02-13 Thread Bert Gunter
Always cc the list unless there is good reason to keep your reply private. There is no LSmeans() function in the lsmeans package. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his

Re: [R] LSmeans and lsmeans

2018-02-13 Thread Bert Gunter
A cursory reading indicates that they are identical; but others more knowledgeable than I need to confirm or deny this. -- Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County"

[R] Fleming-Harrington weighted log rank test

2018-02-13 Thread array chip via R-help
Hi all,  The survdiff() from survival package has an argument "rho" that implements Fleming-Harrington weighted long rank test.  But according to several sources including "survminer" package (https://cran.r-project.org/web/packages/survminer/vignettes/Specifiying_weights_in_log-rank_comparison

Re: [R] LSmeans and lsmeans

2018-02-13 Thread Pius Mwansa
It is in the doBy package. Thanks From: Bert Gunter [mailto:bgunter.4...@gmail.com] Sent: Tuesday, February 13, 2018 4:32 PM To: Pius Mwansa Cc: R-help Subject: Re: [R] LSmeans and lsmeans Always cc the list unless there is good reason to keep your reply private. There is no LSmeans

Re: [R] LSmeans and lsmeans

2018-02-13 Thread Pius Mwansa
Thanks Bert. From: Bert Gunter [mailto:bgunter.4...@gmail.com] Sent: Tuesday, February 13, 2018 4:42 PM To: Pius Mwansa Cc: R-help Subject: Re: [R] LSmeans and lsmeans A cursory reading indicates that they are identical; but others more knowledgeable than I need to confirm or deny this.

[R] Using gutenbergr with a firewall

2018-02-13 Thread Patrick Connolly
I can use the gutenberg_download() function in the gutenbergr package on a computer that doeson't use a firewall, but on an almost identical installation that is behind a firewall, nothing happens, not even a time-out. Has anyone succeeded in using gutenberg_download() successfully with a firewall

Re: [R] Using gutenbergr with a firewall

2018-02-13 Thread Jeff Newmiller
Saying "a firewall" is like saying "a weapon". Some firewalls are much more strict than others, and yours may be different than any someone here might have encountered. You might also be having trouble with anti virus software. -- Sent from my phone. Please excuse my brevity. On February 13, 20