rEncod: Generate random encodings

View source: R/rEncod.R

rEncodR Documentation

Generate random encodings

Description

Generate random encodings according to either BF model or uniform

Usage

rEncod(
  m,
  n,
  distr = c("BF", "uniform", "aldous"),
  b = 0,
  a = b,
  alpha = 1,
  eta = 1,
  type = c("encod", "hEncod"),
  ...
)

Arguments

m

number of trees to generate

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.