[Phylobase-commits] r520 - pkg/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Aug 20 00:33:57 CEST 2009


Author: bbolker
Date: 2009-08-20 00:33:57 +0200 (Thu, 20 Aug 2009)
New Revision: 520

Modified:
   pkg/man/check.phylo4d.Rd
Log:

 updated argument descriptions (still need details/values)



Modified: pkg/man/check.phylo4d.Rd
===================================================================
--- pkg/man/check.phylo4d.Rd	2009-08-19 22:12:08 UTC (rev 519)
+++ pkg/man/check.phylo4d.Rd	2009-08-19 22:33:57 UTC (rev 520)
@@ -28,22 +28,26 @@
   \item{phy}{A phylo4 object}
   \item{dt}{a data frame or matrix}
   \item{type}{type of data to attach}
-  \item{label.type}{stuff}
-  \item{label.column}{stuff}
+  \item{match.data}{(logical) check data labels against tree labels?}
+  \item{label.type}{character, "rownames" or "column": should
+    the labels be taken from the row names of \code{dt} or from
+    the \code{label.column} column of \code{dt}?}
+  \item{label.column}{if \code{label.type=="column"}, column specifier
+  (number or name) of the column containing tip labels}
   \item{missing.data}{action to take if there are missing data/labels don't match}
   \item{extra.data}{action to take if there are extra data/labels don't match}
   \item{tip.data}{a data frame, matching tree tips}
   \item{node.data}{a data frame, matching tree internal nodes}
   \item{all.data}{a data frame, matching all tree nodes (tips and internal nodes)}
   \item{pos}{add data columns before or after existing data?}
-  \item{merge.data}{stuff}
-  \item{match.data}{stuff}
-  \item{\dots}{stuff}
+  \item{merge.data}{(logical) merge data with any existing tip/node data
+    (if TRUE), or replace existing data (if FALSE)?}
+  \item{\dots}{extra arguments, passed to \code{formatData}}
 }
 \value{
-  By default, tip data names are used to attach the tip data to the tree, must be present, and must match the set of tree taxa exactly. By default node data names are not used to attach the data to the tree, and thus node data names are not required.
+By default, tip data names are used to attach the tip data to the tree, must be present, and must match the set of tree taxa exactly. By default node data names are not used to attach the data to the tree, and thus node data names are not required.
 
-  \code{addData} returns the phylo4 object with tipdata and nodedata (if present) attached to the phylo4 tree.
+\code{addData} returns the phylo4 object with tipdata and nodedata (if present) attached to the phylo4 tree.
 }
 \details{
   \code{formatData} checks validity of a phylo4d object. For tipdata and nodedata, checks



More information about the Phylobase-commits mailing list