Rev Language Reference


fnCladogeneticSpeciationRateMatrix

Usage

fnCladogeneticSpeciationRateMatrix(Natural[][] cladogenetic_events, RealPos[] speciation_rates, Natural num_states)

Arguments

cladogenetic_events : Natural[][] (pass by const reference)
A vector of cladogenetic event types. Each type is in the form [ancestral_state, daughter1_state, daughter2_state].
speciation_rates : RealPos[] (pass by const reference)
The speciation rates that correspond to the different cladogenetic event types.
num_states : Natural (pass by value)
The number of states.

Return Type