Learn R Programming

cauphy (version 1.0.3)

initLambdaParameter: Initialization of the lambda parameter.

Description

Initialize the lambda parameter.

Usage

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

Value

The initial lambda parameter.

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.