Rev Language Reference


fnCladogeneticProbabilityMatrix

Usage

fnCladogeneticProbabilityMatrix(Integer[][] cladogenetic_events, RealPos[] probabilities, Natural num_states)

Arguments

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

Return Type