combine: Combine Several Likelihood Functions Multiplicatively

Description Usage Arguments Author(s)

View source: R/util.R

Description

Combine several likelihood functions, so that the new functions gives the product of all likelihoods (the sum of the log likelihoods). This assumes that all likelihoods are independent from one another!

This function is little tested. Use at your own risk!

Usage

1
combine(liks)

Arguments

liks

A list of likelihood functions. All must be of the same type, with the same argnames, and not constrained.

Author(s)

Richard G. FitzJohn


diversitree documentation built on May 19, 2017, 2:37 p.m.

Search within the diversitree package
Search all R packages, documentation and source code