Re: [R] stopifnot with logical(0)

2015-12-12 Thread peter dalgaard
> On 12 Dec 2015, at 10:54 , Martin Maechler wrote: > > My conclusion: Breaking such a fundamental lemma of logic as > "the empty set is always true" Umm, that doesn't make sense to me. Surely you mean that "an AND-operation over an empty index set is TRUE"? A

Re: [R] stopifnot with logical(0)

2015-12-12 Thread Martin Maechler
> Henrik Bengtsson > on Fri, 11 Dec 2015 08:20:55 -0800 writes: > On Fri, Dec 11, 2015 at 8:10 AM, David Winsemius wrote: >> >>> On Dec 11, 2015, at 5:38 AM, Dario Beraldi wrote: >>>

Re: [R] Help quadratic plateau

2015-12-12 Thread John Kane
Please have a look at http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example and/or http://adv-r.had.co.nz/Reproducibility.html It appears that you posted in HTML and the results are very close to unreadable. Please resend in plain text. John Kane Kingston ON

Re: [R] Mean effect size in meta-analysis using Metafor

2015-12-12 Thread Michael Dewey
Dear Carlijn I wonder whether http://www.metafor-project.org/doku.php/tips:comp_two_independent_estimates answers your question? If you had given us an example of your fitting procedure we might know for sure. On 12/12/2015 15:35, Carlijn . wrote: Hi all, I have a question about

Re: [R] R: forest plot metafor

2015-12-12 Thread Viechtbauer Wolfgang (STAT)
No, this is not possible. But you can just add the weights yourself. One difficulty here is that you want the weights to the right of the estimates and corresponding CIs and those are always placed at the right of the figure. One possibility would be to make the right margin large and then use

Re: [R] plotmath not available on R 3.2.2

2015-12-12 Thread Duncan Murdoch
On 12/12/2015 12:32 PM, Ranjan Maitra wrote: On Sat, 12 Dec 2015 10:51:16 -0600 Marc Schwartz wrote: On Dec 12, 2015, at 10:47 AM, Ranjan Maitra wrote: Hi, I recently needed to install a fresh OS (Fedora 23, where R 3.2.2 is the

Re: [R] plotmath not available on R 3.2.2

2015-12-12 Thread Marc Schwartz
> On Dec 12, 2015, at 11:32 AM, Ranjan Maitra > wrote: > > On Sat, 12 Dec 2015 10:51:16 -0600 Marc Schwartz wrote: > >> >>> On Dec 12, 2015, at 10:47 AM, Ranjan Maitra >>> wrote: >>> >>> Hi, >>> >>> I

Re: [R] stopifnot with logical(0)

2015-12-12 Thread Hadley Wickham
On Sat, Dec 12, 2015 at 3:54 AM, Martin Maechler wrote: >> Henrik Bengtsson >> on Fri, 11 Dec 2015 08:20:55 -0800 writes: > > > On Fri, Dec 11, 2015 at 8:10 AM, David Winsemius > wrote: > >> >

Re: [R] stopifnot with logical(0)

2015-12-12 Thread Duncan Murdoch
On 12/12/2015 8:44 AM, peter dalgaard wrote: On 12 Dec 2015, at 10:54 , Martin Maechler wrote: My conclusion: Breaking such a fundamental lemma of logic as "the empty set is always true" Umm, that doesn't make sense to me. Surely you mean that "an

[R] Mean effect size in meta-analysis using Metafor

2015-12-12 Thread Carlijn .
Hi all, I have a question about doing a meta-analysis, in particular a three-level meta-analysis using Metafor. I have estimated the mean overall effect size of males by using two different ways: 1. moderator analysis (male = 0, female = 1) using the whole data set 2. intercept-only

Re: [R] stopifnot with logical(0)

2015-12-12 Thread Henrik Bengtsson
On Sat, Dec 12, 2015 at 6:08 AM, Hadley Wickham wrote: > On Sat, Dec 12, 2015 at 3:54 AM, Martin Maechler > wrote: >>> Henrik Bengtsson >>> on Fri, 11 Dec 2015 08:20:55 -0800 writes: >> >> > On Fri, Dec

Re: [R] metafor package

2015-12-12 Thread John Peterson
Hi Dr. Viechtbauer, Thank you very much. Putting in sei=se in forest() fixed the problem. Thanks for your help. On 8 December 2015 at 08:37, Viechtbauer Wolfgang (STAT) < wolfgang.viechtba...@maastrichtuniversity.nl> wrote: > The first and second argument of forest() (or more precisely, >

[R] R: forest plot metafor

2015-12-12 Thread Mario Petretta
Many thanks to Professor Michael Dewey for his time. I apologize for the error about the claim to obtain weights from escalc and I realise that the weights are a function of the fit, not the data. weights(res) is OK to extract the weights from the fitted object and to put them in the data

Re: [R] Mean effect size in meta-analysis using Metafor

2015-12-12 Thread Bert Gunter
**If** I understand correctly, this is because of correlation in effects due to non-independence between males and females in the data. As this is primarily a statistical, not an R programming, issue, I suggest you post on a statistics list like stats.stackexchange.com. Better yet, talk with a

Re: [R] plotmath not available on R 3.2.2

2015-12-12 Thread Marc Schwartz
> On Dec 12, 2015, at 10:47 AM, Ranjan Maitra > wrote: > > Hi, > > I recently needed to install a fresh OS (Fedora 23, where R 3.2.2 is the > latest), and which meant everything has to be installed from scratch. In so > doing, I got the somewhat familiar: >

Re: [R] stopifnot with logical(0)

2015-12-12 Thread Duncan Murdoch
On 12/12/2015 9:08 AM, Hadley Wickham wrote: On Sat, Dec 12, 2015 at 3:54 AM, Martin Maechler wrote: Henrik Bengtsson on Fri, 11 Dec 2015 08:20:55 -0800 writes: > On Fri, Dec 11, 2015 at 8:10 AM, David Winsemius

[R] plotmath not available on R 3.2.2

2015-12-12 Thread Ranjan Maitra
Hi, I recently needed to install a fresh OS (Fedora 23, where R 3.2.2 is the latest), and which meant everything has to be installed from scratch. In so doing, I got the somewhat familiar: >install.packages('plotmath') Installing package into ‘/usr/lib64/R/library’ (as ‘lib’ is unspecified)

Re: [R] plotmath not available on R 3.2.2

2015-12-12 Thread Ranjan Maitra
On Sat, 12 Dec 2015 10:51:16 -0600 Marc Schwartz wrote: > > > On Dec 12, 2015, at 10:47 AM, Ranjan Maitra > > wrote: > > > > Hi, > > > > I recently needed to install a fresh OS (Fedora 23, where R 3.2.2 is the > > latest), and which

Re: [R] stopifnot with logical(0)

2015-12-12 Thread Martin Maechler
> Hadley Wickham > on Sat, 12 Dec 2015 08:08:54 -0600 writes: > On Sat, Dec 12, 2015 at 3:54 AM, Martin Maechler > wrote: >>> Henrik Bengtsson on >>> Fri, 11 Dec 2015 08:20:55 -0800

[R] Problem to install rattle Library on RStudio Version 0.99.486

2015-12-12 Thread Mateus Coelho
Although I already tried to install this package at my RStudio, I can't manage to do it. Would you have any hint to help me solving this problem. Thanks and greetings Mateus Coelho Silva br.linkedin.com/in/mateuscoelhos (Tel/WApp: +55 31 88535135) -Graduando em Engenharia de Controle e Automação

Re: [R] plotmath not available on R 3.2.2

2015-12-12 Thread Ranjan Maitra
> A couple of things: > > First, there is a SIG list specifically for R on Fedora and RHEL > distributions and their derivatives: > > https://stat.ethz.ch/mailman/listinfo/r-sig-fedora > > Second, how did you install R? If you used the precompiled binary RPMS for > Fedora that are available

Re: [R] plotmath not available on R 3.2.2

2015-12-12 Thread Marc Schwartz
> On Dec 12, 2015, at 12:33 PM, Ranjan Maitra > wrote: > >> A couple of things: >> >> First, there is a SIG list specifically for R on Fedora and RHEL >> distributions and their derivatives: >> >> https://stat.ethz.ch/mailman/listinfo/r-sig-fedora >> >>

Re: [R] plotmath not available on R 3.2.2

2015-12-12 Thread Duncan Murdoch
On 12/12/2015 1:35 PM, Ranjan Maitra wrote: install.packages('grDevices') Installing package into ‘/usr/lib64/R/library’ (as ‘lib’ is unspecified) Warning message: package ‘grDevices’ is not available (for R version 3.2.2) However, this is no longer an issue for me: I seem to have it installed

Re: [R] plotmath not available on R 3.2.2

2015-12-12 Thread Ranjan Maitra
> > > > Yes, that is what I thought so too earlier (and indeed is still true, sorry > > about that). The whole issue started at my end because I misremembered > > about plotmath which is neither a function nor a package. > > > >> Perhaps install.packages() should give a different error message