[Mattice-commits] r161 - in pkg: R inst/doc
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sat Jan 17 02:45:56 CET 2009
Author: andrew_hipp
Date: 2009-01-17 02:45:56 +0100 (Sat, 17 Jan 2009)
New Revision: 161
Modified:
pkg/R/ouSim.ouchtree.R
pkg/inst/doc/maticce.pdf
Log:
fixed ouSim.ouchtree ; tree <- object
Modified: pkg/R/ouSim.ouchtree.R
===================================================================
--- pkg/R/ouSim.ouchtree.R 2009-01-15 18:42:09 UTC (rev 160)
+++ pkg/R/ouSim.ouchtree.R 2009-01-17 01:45:56 UTC (rev 161)
@@ -1,8 +1,9 @@
ouSim.ouchtree <- function(object, rootState = 0, alpha = 0, variance = 1, theta = rootState, steps = 1000, ...) {
## function to plot a simulated dataset under brownian motion or Ornstein-Uhlenbeck (OU) model
## Arguments:
-## tree is an ouch-style (S4) tree
+## object is an ouch-style (S4) tree
## alpha and theta are either single values or vectors of length (length(branchList))
+tree <- object
message(paste("running sim with root =", rootState, ", alpha =", mean(alpha), ", var =", variance, "theta =", mean(theta)))
##embedded function---------------------
##can be released to the wild, but more arguments will need to be passed around
Modified: pkg/inst/doc/maticce.pdf
===================================================================
(Binary files differ)
More information about the Mattice-commits
mailing list