rEncod.single.SV2016: Generate a random encoding

View source: R/rEncod.R

rEncod.single.SV2016R Documentation

Generate a random encoding

Description

Generate a random encoding according to Blum-Francoid beta splitting model

Usage

rEncod.single.SV2016(n, b = 0, a = b, type = c("encod", "hEncod"))

Arguments

n

n+1 is the number of tips of the tree

b

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

a

alpha parameter in BF model of SV 2016. Default is a = b for BF model.

type

flag to switch between isochronous and hetero chronous versions of encodings


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