Re: [Rd] nobs() with glm(family="poisson")

2013-02-27 Thread John Fox
Dear Milan and Steven, At the risk of muddying the water further, I think that the potential confusion here is that Poisson GLMs are applied in two formally equivalent but substantively different situations: (1) where the counts are cells in a contingency table, in which case the Poisson GLM is

Re: [Rd] nobs() with glm(family="poisson")

2013-02-27 Thread peter dalgaard
On Feb 27, 2013, at 21:55 , Milan Bouchet-Valat wrote: > Thanks for the (critical, indeed) answer! > > Le mercredi 27 février 2013 à 20:48 +0100, peter dalgaard a écrit : >> On Feb 27, 2013, at 19:46 , Milan Bouchet-Valat wrote: >> >>> I cannot believes nobody cares about this -- or I'm complet

Re: [Rd] nobs() with glm(family="poisson")

2013-02-27 Thread Milan Bouchet-Valat
Le mercredi 27 février 2013 à 14:26 -0800, Steven McKinney a écrit : > > > -Original Message- > > From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org] > > On Behalf Of Milan Bouchet-Valat > > Sent: February-27-13 12:56 PM > > To: peter dalgaard > > Cc: r-devel > > Sub

Re: [Rd] nobs() with glm(family="poisson")

2013-02-27 Thread Steven McKinney
> -Original Message- > From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org] > On Behalf Of Milan Bouchet-Valat > Sent: February-27-13 12:56 PM > To: peter dalgaard > Cc: r-devel > Subject: Re: [Rd] nobs() with glm(family="poisson") > > Thanks for the (critical, inde

Re: [Rd] nobs() with glm(family="poisson")

2013-02-27 Thread Milan Bouchet-Valat
Thanks for the (critical, indeed) answer! Le mercredi 27 février 2013 à 20:48 +0100, peter dalgaard a écrit : > On Feb 27, 2013, at 19:46 , Milan Bouchet-Valat wrote: > > > I cannot believes nobody cares about this -- or I'm completely wrong and > > in that case everybody should rush to put the s

Re: [Rd] nobs() with glm(family="poisson")

2013-02-27 Thread peter dalgaard
On Feb 27, 2013, at 19:46 , Milan Bouchet-Valat wrote: > I cannot believes nobody cares about this -- or I'm completely wrong and > in that case everybody should rush to put the shame on me... :-p Well, nobs() is the number of observations. If you have 5 Poisson distributed counts, you have 5 o

Re: [Rd] nobs() with glm(family="poisson")

2013-02-27 Thread Milan Bouchet-Valat
I cannot believes nobody cares about this -- or I'm completely wrong and in that case everybody should rush to put the shame on me... :-p In the meantime, I have come up with an alternative way of fixing this: when modeling count data, glm() could allow users to pass a table as the data argument,

Re: [Rd] Keeping up to date with R-devel

2013-02-27 Thread Jari Oksanen
On 27/02/2013, at 18:08 PM, Dirk Eddelbuettel wrote: > > On 27 February 2013 at 17:16, Renaud wrote: > | Hi, > | > | thanks for the responses. > | Dirk I found the script you posted once. Can anyone send me a link to the > | "beaten to death post"? > > Those were Simon's words, not mine, but

Re: [Rd] Keeping up to date with R-devel

2013-02-27 Thread Dirk Eddelbuettel
On 27 February 2013 at 17:16, Renaud wrote: | Hi, | | thanks for the responses. | Dirk I found the script you posted once. Can anyone send me a link to the  | "beaten to death post"? Those were Simon's words, not mine, but I think he referred to the long-ish and painful thread here: http://t

Re: [Rd] Keeping up to date with R-devel

2013-02-27 Thread Renaud
Hi, thanks for the responses. Dirk I found the script you posted once. Can anyone send me a link to the "beaten to death post"? I am fine with these approaches and kind of already follow them. I imagine that after an R-devel update you have to re-install all the contrib packages that need to comp

Re: [Rd] Keeping up to date with R-devel

2013-02-27 Thread Dirk Eddelbuettel
On 27 February 2013 at 12:08, Renaud wrote: | is checking out R SVN trunk the recommended way to keep up to date with | R-devel and check packages with the latest version? In theory. In practice you need a time machine as I just something rejected for a test that did not exist when I submitted :

Re: [Rd] Keeping up to date with R-devel

2013-02-27 Thread Simon Urbanek
On Feb 27, 2013, at 5:08 AM, Renaud wrote: > Hi, > > is checking out R SVN trunk the recommended way to keep up to date with > R-devel and check packages with the latest version? > > My objective is to be able to have both R and R-devel versions > installed/working and up to date. > R-devel bina

Re: [Rd] Recommended way to call/import functions from a Suggested package

2013-02-27 Thread Simon Urbanek
On Feb 27, 2013, at 12:54 AM, Hervé Pagès wrote: > On 02/26/2013 05:28 PM, Simon Urbanek wrote: >> >> On Feb 26, 2013, at 6:48 PM, Hervé Pagès wrote: >> >>> On 02/26/2013 03:12 PM, Simon Urbanek wrote: On Feb 26, 2013, at 5:47 PM, Hervé Pagès wrote: > Hi, > > So MA

[Rd] Running R scripts with interactive-style evaluation

2013-02-27 Thread Marc Aurel Kiefer
Thanks for your insights. What I'm actually doing is the following: I modified R in a way that the REPL loop always parses the input into an SEXPR, but depending on if "magic is enabled" or not, let R compute it or compute it via my own "backend". As I wanted to keep the changes to R itself as

[Rd] Keeping up to date with R-devel

2013-02-27 Thread Renaud
Hi, is checking out R SVN trunk the recommended way to keep up to date with R-devel and check packages with the latest version? My objective is to be able to have both R and R-devel versions installed/working and up to date. R-devel binaries would be available as symlinks in my home directory so