]> git.donarmstrong.com Git - ape.git/blobdiff - man/richness.yule.test.Rd
final packing for ape 2.7
[ape.git] / man / richness.yule.test.Rd
diff --git a/man/richness.yule.test.Rd b/man/richness.yule.test.Rd
new file mode 100644 (file)
index 0000000..f71200d
--- /dev/null
@@ -0,0 +1,38 @@
+\name{richness.yule.test}
+\alias{richness.yule.test}
+\title{}
+\description{
+  This function performs a test of shift in diversification rate using
+  probabilities from the Yule process.
+}
+\usage{
+richness.yule.test(x, t)
+}
+\arguments{
+  \item{x}{a matrix or a data frame with at least two columns: the first
+    one gives the number of species in clades with a trait supposed to
+    increase or decrease diversification rate, and the second one the number of
+    species in the sister-clades without the trait. Each
+    row represents a pair of sister-clades.}
+  \item{t}{a numeric vector giving the divergence times of each pair of
+    clades in \code{x}.}
+}
+\details{
+}
+\value{
+  a data frame with the \eqn{\chi^2}{chi2}, the number of degrees of
+  freedom (= 1), and the \emph{P}-value.
+}
+\references{
+  Paradis, E. Shift in diversification in sister-clade comparisons: a
+  more powerful test. (manuscript submitted)
+}
+\author{Emmanuel Paradis}
+\seealso{
+  \code{\link{slowinskiguyer.test}}, \code{\link{mcconwaysims.test}}
+  \code{\link{diversity.contrast.test}}
+}
+\examples{
+### see examples(mcconwaysims.test)
+}
+\keyword{htest}