]> git.donarmstrong.com Git - ape.git/blobdiff - man/rTraitDisc.Rd
a few bug fixes especially in plot.phylo()
[ape.git] / man / rTraitDisc.Rd
index 967042eeaa135f3807af16641254a6f2fbe334e6..e65a54b29604ada34b0492d229b6ff63d23d159b 100644 (file)
@@ -24,6 +24,8 @@ rTraitDisc(phy, model = "ER", k = if (is.matrix(model)) ncol(model) else 2,
   \item{root.value}{an integer giving the value at the root (by default,
     it's the first state). To have a random value, use \code{root.value
       = sample(k)}.}
+  \item{\dots}{further arguments passed to \code{model} if it is a
+    function.}
 }
 \description{
   This function simulates the evolution of a discrete character along a
@@ -42,7 +44,7 @@ rTraitDisc(phy, model = "ER", k = if (is.matrix(model)) ncol(model) else 2,
     always ignored. The arguments \code{k} and \code{rate} are ignored.}
 
   \item{A character:}{these are the same short-cuts than in the function
-  \link{\code{ace}}: \code{"ER"} is an equal-rates model, \code{"ARD"}
+  \code{\link{ace}}: \code{"ER"} is an equal-rates model, \code{"ARD"}
   is an all-rates-different model, and \code{"SYM"} is a symmetrical
   model. Note that the argument \code{rate} must be of the appropriate
   length, i.e., 1, \eqn{k(k - 1)}, or \eqn{k(k - 1)/2} for the three models,