From dushoff at mcmaster.ca  Thu Jun 30 20:09:30 2011
From: dushoff at mcmaster.ca (Jonathan Dushoff)
Date: Thu, 30 Jun 2011 14:09:30 -0400
Subject: [Rd] heatmap documentation typo
Message-ID: <BANLkTin_kDuhnpkQzJSFgrPVe8PZTdk3kA@mail.gmail.com>

Under Details, the documentation says "[if Rowv or Colv] is 'NULL',
_no reordering_ will be done for the corresponding side."  In fact, as
explained elsewhere in the documentation, 'NA' is required, not
'NULL'.

An anonymous expert suggested that I should attach an svn diff file to
this report, so I will.

JD
-------------- next part --------------
Index: heatmap.Rd
===================================================================
--- heatmap.Rd	(revision 56237)
+++ heatmap.Rd	(working copy)
@@ -94,7 +94,7 @@
   If either is missing, as by default, then the ordering of the
   corresponding dendrogram is by the mean value of the rows/columns,
   i.e., in the case of rows, \code{Rowv <- rowMeans(x, na.rm=na.rm)}.
-  If either is \code{\link{NULL}}, \emph{no reordering} will be done for
+  If either is \code{\link{NA}}, \emph{no reordering} will be done for
   the corresponding side.
 
   By default (\code{scale = "row"}) the rows are scaled to have mean


[Rd] heatmap documentation typo
Jonathan Dushoff