getMatrixFromAbbr: Gets the matrix form of a rate model from its abbreviation

View source: R/asr_diagnostics.R

getMatrixFromAbbrR Documentation

Gets the matrix form of a rate model from its abbreviation

Description

Gets the matrix form of a rate model from its abbreviation

Usage

getMatrixFromAbbr(abbr, Nstates)

Arguments

abbr

The abbreviation for the rate model. Can be one of "ER", "ARD", or "SYM"

Nstates

The number of phenotype states to include in the rate model

Value

a rate model as an Nstates x Nstates matrix


nclark-lab/RERconverge documentation built on March 2, 2024, 8:51 a.m.