get_model_factor: Get the scaling factor

View source: R/simulatePhyloPoissonLogNormal.R

get_model_factorR Documentation

Get the scaling factor

Description

Get the scaling factors.

Usage

get_model_factor(model.process, selection.strength, tree)

Arguments

model.process

the process to be used for phylogenetic simulations. One of "BM" or "OU", default to "BM".

selection.strength

if the process is "OU", the selection strength parameter.

tree

a dated phylogenetic tree of class phylo with 'samples.per.cond * 2' species.

Value

A vector N of factors.


csoneson/compcodeR documentation built on Oct. 25, 2023, 1:28 a.m.