Learn R Programming

marcher (version 0.0-2)

getLikelihood: Estimate likelihoods and AICs

Description

Estimate likelihoods and AIC for several possible migration models.

Usage

getLikelihood(p, T, X, Y, model = c("mouf", "mou", "mwn", "ouf", "ou",
  "wn")[1])

Arguments

p
initial parameters: [tau.z, tau.v, t1, t2, x1, x2, y1, y2]
T, X, Y
time,x and y coordinates
model
"wn", "ou", "ouf", "mou" or "mouf", - whether or not to estimate tau.v