]> git.donarmstrong.com Git - ape.git/blobdiff - man/dbd.Rd
some changes for ape 3.0-6
[ape.git] / man / dbd.Rd
index f86b97b17fcf8244d9ccabcbf57ccebd784cea38..4f5ba15b62c7c237fe6d8cc00f28e41aa8b48d14 100644 (file)
@@ -37,22 +37,23 @@ dbdTime(x, birth, death, t, conditional = FALSE,
 }
 \details{
   These three functions compute the probabilities to observe \code{x}
-  species starting from a single one after time units \code{t} (assumed
-  to be continuous). The first one is a short-cut for the second with
-  \code{mu = 0} and with default values for the two other parameters.
+  species starting from a single one after time \code{t} (assumed to be
+  continuous). The first function is a short-cut for the second one with
+  \code{mu = 0} and with default values for the two other arguments.
   \code{dbdTime} is for time-varying \code{lambda} and \code{mu}
   specified as \R functions.
 
-  Only \code{dyule} is vectorized simultaneously on its three arguments
+  \code{dyule} is vectorized simultaneously on its three arguments
   \code{x}, \code{lambda}, and \code{t}, according to \R's rules of
-  recycling arguments. The two others are vectorized only on \code{x};
-  the other arguments are eventually shortened with a warning if
-  necessary.
+  recycling arguments. \code{dbd} is vectorized simultaneously \code{x}
+  and \code{t} (to make likelihood calculations easy), and
+  \code{dbdTime} is vectorized only on \code{x}; the other arguments are
+  eventually shortened with a warning if necessary.
 
   The returned value is, logically, zero for values of \code{x} out of
   range, i.e., negative or zero for \code{dyule} or if \code{conditional
   = TRUE}. However, it is not checked if the values of \code{x} are
-  non-integers and the probabilities are computed and returned.
+  positive non-integers and the probabilities are computed and returned.
 
   The details on the form of the arguments \code{birth}, \code{death},
   \code{BIRTH}, \code{DEATH}, and \code{fast} can be found in the links