rEncod.single.Maliet2018: Generate a random encoding

View source: R/rEncod_maliet.R

rEncod.single.Maliet2018R Documentation

Generate a random encoding

Description

Generate a random encoding according to Maliet-Aldous beta splitting model

Usage

rEncod.single.Maliet2018(
  n,
  b = 0,
  alpha = 1,
  eta = 1,
  type = c("encod", "hEncod")
)

Arguments

n

n+1 is the number of tips of the tree

b

beta parameter in beta model of Maliet2018. Default b = 0 gives the Yule / Kingman model

alpha

alpha parameter in Maliet2018, age-richness index Default is alpha = 1.

eta

eta parameter in Maliet2018, abundance-richness index (Not implemented!) Default would be eta = 1.

type

flag to switch between isochronous and hetero chronous versions of encodings


RSamyak/fmatrix documentation built on May 31, 2024, 12:29 a.m.