View source: R/modelgeossesplit.R
make.geosse.split  R Documentation 
Create a likelihood function for a GeoSSE model where the tree is partitioned into regions with different parameters.
make.geosse.split(tree, states, nodes, split.t,
sampling.f=NULL, strict=TRUE, control=list())
make.geosse.uneven(tree, states, nodes, split.t,
sampling.f=NULL, strict=TRUE, control=list())
tree 
An ultrametric bifurcating phylogenetic tree, in

states 
A vector of character states, each of which must be an
integer between 0 and 2: see 
nodes 
Vector of nodes that will be split (see Details). 
split.t 
Vector of split times, same length as 
sampling.f 
Vector of length 3 where 
strict 
The 
control 
List of control parameters for the ODE solver. See
details in 
Branching times can be controlled with the split.t
argument. If this is Inf
, split at the base of the branch (as in
MEDUSA). If 0
, split at the top (closest to the present, as in
the new option for MEDUSA). If 0 < split.t < Inf
then we split
at that time on the tree (zero is the present, with time growing
backwards).
The nodes
at the top of the split location are specified as a
vector of node names. For example, a value of c("nd10",
"nd12")
means that the splits are along the branches leading from each
of these nodes towards the root.
Emma E. Goldberg
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.