[Rd] Minor typo in influence.measures.Rd ?
Gavin Simpson
gavin.simpson at ucl.ac.uk
Thu Jan 27 15:47:34 CET 2011
Dear list,
There is, I believe, a minor typo in the example section of
influence.measures.Rd. In the final example the word `does` appears
where I suspect `dose` is required:
I couldn't remember exactly what format patches should be in, so here is
one as diff would produce:
Index: devel/src/library/stats/man/influence.measures.Rd
===================================================================
198c198
< yi <- c(0,2,14,19,30) # number of mice responding to does xi
---
> yi <- c(0,2,14,19,30) # number of mice responding to dose xi
#######
and this version is provided by svn diff:
Index: devel/src/library/stats/man/influence.measures.Rd
===================================================================
--- devel/src/library/stats/man/influence.measures.Rd (revision 54122)
+++ devel/src/library/stats/man/influence.measures.Rd (working copy)
@@ -195,7 +195,7 @@
## Irwin's data [Williams 1987]
xi <- 1:5
-yi <- c(0,2,14,19,30) # number of mice responding to does xi
+yi <- c(0,2,14,19,30) # number of mice responding to dose xi
mi <- rep(40, 5) # number of mice exposed
summary(lmI <- glm(cbind(yi, mi -yi) ~ xi, family = binomial))
signif(cooks.distance(lmI), 3)# ~= Ci in Table 3, p.184
#######
Both are against the R svn trunk, r54122, and are attached, but may not
make it through the mailing list filters.
All the best,
Gavin
--
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
Dr. Gavin Simpson [t] +44 (0)20 7679 0522
ECRC, UCL Geography, [f] +44 (0)20 7679 0565
Pearson Building, [e] gavin.simpsonATNOSPAMucl.ac.uk
Gower Street, London [w] http://www.ucl.ac.uk/~ucfagls/
UK. WC1E 6BT. [w] http://www.freshwaters.org.uk
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
-------------- next part --------------
A non-text attachment was scrubbed...
Name: influence.measures.Rd.diff-patched
Type: text/x-patch
Size: 263 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20110127/cb594ac5/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: influence.measures.Rd.patched
Type: text/x-patch
Size: 624 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20110127/cb594ac5/attachment-0001.bin>
More information about the R-devel
mailing list