[Ecopd-commits] r86 - branches/single-tree/man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Wed Nov 18 20:26:09 CET 2009
Author: regetz
Date: 2009-11-18 20:26:09 +0100 (Wed, 18 Nov 2009)
New Revision: 86
Modified:
branches/single-tree/man/minTL.Rd
branches/single-tree/man/pairdist.Rd
Log:
updated examples in pairdist and minTL docs
Modified: branches/single-tree/man/minTL.Rd
===================================================================
--- branches/single-tree/man/minTL.Rd 2009-11-18 19:14:46 UTC (rev 85)
+++ branches/single-tree/man/minTL.Rd 2009-11-18 19:26:09 UTC (rev 86)
@@ -19,6 +19,9 @@
\details{
TODO
}
+\note{
+ This function isn't currently useful for much of anything.
+}
\value{
For \code{minTL}, a named numeric vector of the same length as tips of
tree. (\code{NULL} is returned if the tree has no assigned minTL
@@ -26,6 +29,7 @@
}
\author{Jim Regetz (regetz at nceas.ucsb.edu)}
\examples{
- data(weeds)
- minTL(weeds$A)
+ phy <- phylo4d(weeds, "A")
+ minTL(phy) <- 1:5
+ minTL(phy)
}
Modified: branches/single-tree/man/pairdist.Rd
===================================================================
--- branches/single-tree/man/pairdist.Rd 2009-11-18 19:14:46 UTC (rev 85)
+++ branches/single-tree/man/pairdist.Rd 2009-11-18 19:26:09 UTC (rev 86)
@@ -29,11 +29,9 @@
which \code{pairdist} is based.
}
\examples{
- data(weeds)
-
# all pairwise distances
- pairdist(weeds$A)
+ pairdist(weeds)
# pairwise distances between tips, with labels and dim names
- pairdist(weeds$A, type="tip", use.labels=TRUE)
+ pairdist(weeds, type="tip", use.labels=TRUE)
}
More information about the Ecopd-commits
mailing list