Initialization of the lambda parameter.
Initialize the lambda parameter.
initLambdaParameter(tree, trait, disp_hat, tol = 0.1)
trait
: named vector of traits at the tips.disp_hat
: the previously estimated dispersiontol
: the percentage of tip pairs to keep for the computation. Default to 0.1.The initial lambda parameter.
Use linear combinations of cherries to get a first estimate of lambda.