[Rd] dendrapply.Rd patch

Dan Davison davison at stats.ox.ac.uk
Sat Aug 16 20:18:00 CEST 2008


One typo, and added rapply() to 'See also' list.

Dan

-- 
www.stats.ox.ac.uk/~davison
-------------- next part --------------
--- /usr/local/src/R/R-svn-trunk/src/library/stats/man/dendrapply.Rd	2008-08-16 13:41:48.000000000 +0100
+++ /home/dan/dendrapply-new.Rd	2008-08-16 19:10:51.000000000 +0100
@@ -9,7 +9,7 @@
 \description{
   Apply function \code{FUN} to each node of a \code{\link{dendrogram}}
   recursively.  When  \code{y <- dendrapply(x, fn)}, then \code{y} is a
-  dendrogram of the same graph structure as \code{x} and each for each node,
+  dendrogram of the same graph structure as \code{x} and for each node,
   \code{y.node[j] <- FUN( x.node[j], ...)} (where \code{y.node[j]} is an
   (invalid!) notation for the j-th node of y.
 }
@@ -33,7 +33,8 @@
 \note{this is still somewhat experimental, and suggestions for
   enhancements (or nice examples of usage) are very welcome.}
 \seealso{\code{\link{as.dendrogram}}, \code{\link{lapply}} for applying
-  a function to each component of a  \code{list}.
+  a function to each component of a  \code{list}, \code{\link{rapply}}
+  for doing so to each non-list component of a nested list.
 }
 \examples{
 require(graphics)


More information about the R-devel mailing list