X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=man%2Fdbd.Rd;h=4f5ba15b62c7c237fe6d8cc00f28e41aa8b48d14;hb=da67dccb93d35408baa48b141fcda921772c8b9c;hp=f86b97b17fcf8244d9ccabcbf57ccebd784cea38;hpb=e9f75370481c37eb9d3d811ce7494f818b423136;p=ape.git diff --git a/man/dbd.Rd b/man/dbd.Rd index f86b97b..4f5ba15 100644 --- a/man/dbd.Rd +++ b/man/dbd.Rd @@ -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