initLambdaParameter: Initialization of the lambda parameter.

View source: R/optimization.R

initLambdaParameterR Documentation

Initialization of the lambda parameter.

Description

Initialize the lambda parameter.

Usage

initLambdaParameter(tree, trait, disp_hat, tol = 0.1)

Arguments

trait

named vector of traits at the tips.

disp_hat

the previously estimated dispersion

tol

the percentage of tip pairs to keep for the computation. Default to 0.1.

Details

Use linear combinations of cherries to get a first estimate of lambda.

Value

The initial lambda parameter.


cauphy documentation built on Oct. 1, 2024, 5:08 p.m.