[Mattice-commits] r47 - pkg/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Nov 20 21:19:03 CET 2008


Author: andrew_hipp
Date: 2008-11-20 21:19:03 +0100 (Thu, 20 Nov 2008)
New Revision: 47

Modified:
   pkg/man/ouSim.Rd
Log:
expanded description of ouSim in ouSim.Rd

Modified: pkg/man/ouSim.Rd
===================================================================
--- pkg/man/ouSim.Rd	2008-11-20 20:08:18 UTC (rev 46)
+++ pkg/man/ouSim.Rd	2008-11-20 20:19:03 UTC (rev 47)
@@ -44,7 +44,13 @@
     }
 }
 \details{
-    ouSim as currently written is a very basic simulation engine, but also very flexible.
+    ouSim as currently written is a very basic simulation engine, but also flexible. As written, the user has to specify the 
+    model using two vectors that correspond to the branches in an \code{ape} format tree (a \code{phylo} object). The next
+    iteration of this function will take an ouchtree as input; interface with the \code{regimeVectors} function for painting
+    regimes; accept a \code{hansentree} or \code{ouchtree} object as input, using the actual regimes and estimated paramters 
+    to run the simulation; and return results that are scaled correctly for the tree (I believe at this point that the 
+    sigma and alpha parameters don't return results that match the distributions you get using \code{simulate} on a \code{hansentree}
+    or \code{browntree} object, which you should.
 }
 \value{
   A list of class 'ouSim' that describes the phenotype at the beginning and end of each branch segment, as well as the model.



More information about the Mattice-commits mailing list