loglik2.C: likelihood calculation, in C

Description Usage Arguments Value

View source: R/mixstock.R

Description

takes a parameter vector corresponding to the (possibly transformed) source contributions and source marker frequencies and returns the negative log likelihood

Usage

1
2
loglik2.C(p, sourcesamp, mixsamp = NULL, verbose = FALSE,
transf = c("full", "part", "none"), full = FALSE, cond = FALSE, debug = FALSE)

Arguments

p

parameter vector

sourcesamp

source marker samples

mixsamp

mixed stock samples

verbose

verbose output?

transf

transformation: "full", "part", or "none"

full

full likelihood (including normalization constants?)

cond

conditional likelihood (not including source sample likelihood?

debug

debugging output?

Value

numeric value of the negative log-likelihood


mixstock documentation built on May 2, 2019, 6:48 p.m.