[Rd] Depends, Suggests and .First.lib

2010-01-27 Thread Oscar PerpiƱan Lamigueiro
Dear all, I am working in the development of a package with more or less 25 functions. Most of them do not have dependencies on other extra packages. However, I am including three GUIs for the most important functions of the package. These three GUIs need the gWidgets package. Moreover, there i

[Rd] Possible bug in fisher.test() (PR#14196)

2010-01-27 Thread nhorton
# is there a bug in the calculation of the odds ratio in fisher.test? # Nicholas Horton, nhor...@smith.edu Fri Jan 22 08:29:07 EST 2010 x1 = c(rep(0, 244), rep(1, 209)) x2 = c(rep(0, 177), rep(1, 67), rep(0, 169), rep(1, 40)) or1 = sum(x1==1&x2==1)*sum(x1==0&x2==0)/ (sum(x1==1&x2==0)*sum(x1=

Re: [Rd] Possible bug in fisher.test() (PR#14196)

2010-01-27 Thread Ted Harding
On 27-Jan-10 17:30:10, nhor...@smith.edu wrote: ># is there a bug in the calculation of the odds ratio in fisher.test? ># Nicholas Horton, nhor...@smith.edu Fri Jan 22 08:29:07 EST 2010 > > x1 = c(rep(0, 244), rep(1, 209)) > x2 = c(rep(0, 177), rep(1, 67), rep(0, 169), rep(1, 40)) > > or1 = sum(x

Re: [Rd] poisson.test from stats package does not pass the conf.level (PR#14195)

2010-01-27 Thread Peter Dalgaard
m...@niaid.nih.gov wrote: Hi, The poisson.test function from stats package does not pass the conf.level p= arameter for the two-sample test. Here is an example: poisson.test(c(2,4),c(20,14),conf.level=3D.95)$conf.int poisson.test(c(2,4),c(20,14),conf.level=3D.9)$conf.int Here is the solution,

Re: [Rd] poisson.test from stats package does not pass the conf.level (PR#14197)

2010-01-27 Thread p . dalgaard
m...@niaid.nih.gov wrote: > Hi, > > The poisson.test function from stats package does not pass the conf.level p= > arameter for the two-sample test. Here is an example: > > poisson.test(c(2,4),c(20,14),conf.level=3D.95)$conf.int > poisson.test(c(2,4),c(20,14),conf.level=3D.9)$conf.int > > > Her

Re: [Rd] "Too many raster images" in devPS.c

2010-01-27 Thread Paul Murrell
Hi Wolfgang Huber wrote: Hi, I am finding the recently added [1] functionality of embedding raster images into plots on R devices very useful! Thanks to Paul Murrell and others for providing that. I noted that in https://svn.r-project.org/R/trunk/src/library/grDevices/src/devPS.c a macro i