There is a typo in a comment in the example section of legend.Rd, line
224. The comment refers the reader to 'example(plotfactor)'. It should
read 'example(plot.factor)'

The attached patch (against R 2.8.0 to be r45988) makes this change to
legend.Rd.

All the best,

G
-- 
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
 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
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
Index: ../src/library/graphics/man/legend.Rd
===================================================================
--- ../src/library/graphics/man/legend.Rd	(revision 45988)
+++ ../src/library/graphics/man/legend.Rd	(working copy)
@@ -221,7 +221,7 @@
                    hat(x) == median(x[i], i==1,n))
 utils::str(legend(4.1, 30, ex12, col = 2:3, lty=2:3, lwd=2))
 
-## 'Filled' boxes -- for more, see example(plotfactor)
+## 'Filled' boxes -- for more, see example(plot.factor)
 op <- par(bg="white") # to get an opaque box for the legend
 plot(cut(weight, 3) ~ group, data = PlantGrowth, col = NULL,
      density = 16*(1:3))
______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to