-## ace.R (2013-01-31)
+## ace.R (2013-03-18)
## Ancestral Character Estimation
se
}
-ace <- function(x, phy, type = "continuous", method = "ML", CI = TRUE,
- model = if (type == "continuous") "BM" else "ER",
- scaled = TRUE, kappa = 1, corStruct = NULL, ip = 0.1,
- use.expm = FALSE)
+ace <-
+ function(x, phy, type = "continuous",
+ method = if (type == "continuous") "REML" else "ML",
+ CI = TRUE, model = if (type == "continuous") "BM" else "ER",
+ scaled = TRUE, kappa = 1, corStruct = NULL, ip = 0.1,
+ use.expm = FALSE)
{
if (!inherits(phy, "phylo"))
stop('object "phy" is not of class "phylo"')