Skip to contents

Returns log-likelihood for a multivariate Unbiased Random Walk model.

Usage

logL.joint.single.R(init.par, C, y, m, n, anc.values, yy)

Arguments

init.par

initial (starting) parameters values

C

distance matrix

y

vector containing all trait values from all traits

m

number of traits

n

number of populations

anc.values

initial values for the ancestral trait values

yy

a multivariate evoTS object

Value

The log-likelihood of the parameter estimates, given the data.

Details

In general, users will not be access these functions directly, but instead use the optimization functions, which use these functions to find the best-supported parameter values.

Author

Kjetil Lysne Voje