initLambdaParameter function

Initialization of the lambda parameter.

Initialization of the lambda parameter.

Initialize the lambda parameter.

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.

Returns

The initial lambda parameter.

Details

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

  • Maintainer: Paul Bastide
  • License: GPL (>= 3)
  • Last published: 2024-10-01