bSiteRates(Number shape, Integer ncat, Integer L, Number proportionInvariable, Boolean useShape, Boolean useProportionInvariable)

the site rates for the given bModelTest parameters.

Parameters

  • Number shape - the shape parameter of the discretized Gamma distribution.
  • Integer ncat - the number of categories of the discretized Gamma distribution.
  • Integer L - the number of sites to simulate.
  • Number proportionInvariable - the proportion of invariable sites parameter
  • Boolean useShape - true if the non-zero site rates follow a discretized Gamma distribution.
  • Boolean useProportionInvariable - true if there is a proportion of invariable sites.

Return type

Double[]

Examples

  • simpleBModelTest2.lphy