Ben Bolker
2015-Dec-30 01:45 UTC
[Rd] typo in src/library/stats/man/family.Rd: names of 'validmu' and 'valideta' ??
under "Details" (version 2015-11-29 r69717; not quite cutting-edge, but nothing has changed in src/library/stats/man/family.Rd in 5 months [sorry for using the Github mirror, but I prefer the interface ... <https://github.com/wch/r-source/blob/trunk/src/library/stats/man/family.Rd>]) it says: valid.mu: logical function. Returns ?TRUE? if a mean vector ?mu? is within the domain of ?variance?. valid.eta: logical function. Returns ?TRUE? if a linear predictor ?eta? is within the domain of ?linkinv?. However, the real names of these elements are "validmu" and "valideta" (no dots); try names(poisson()) or names(binomial()) and see ... Can someone on R-core fix this and save me the trouble of filing a bug report ... ? Or have I misunderstood something? cheers Ben Bolker
Duncan Murdoch
2015-Dec-30 13:16 UTC
[Rd] typo in src/library/stats/man/family.Rd: names of 'validmu' and 'valideta' ??
On 29/12/2015 8:45 PM, Ben Bolker wrote:> under "Details" (version 2015-11-29 r69717; not quite cutting-edge, > but nothing has changed in src/library/stats/man/family.Rd in 5 months > [sorry for using the Github mirror, but I prefer the interface ... > <https://github.com/wch/r-source/blob/trunk/src/library/stats/man/family.Rd>]) > it says: > > valid.mu: logical function. Returns ?TRUE? if a mean vector ?mu? is > within the domain of ?variance?. > > valid.eta: logical function. Returns ?TRUE? if a linear predictor > ?eta? is within the domain of ?linkinv?. > > However, the real names of these elements are "validmu" and "valideta" > (no dots); try names(poisson()) or names(binomial()) and see ... > > Can someone on R-core fix this and save me the trouble of filing a > bug report ... ? > > Or have I misunderstood something?I don't think so. It's fixed now. Duncan Murdoch