calc_ll_pg_lm: Log-likelihood for pg_lm() model for use in model selection

View source: R/calc_ll.R

calc_ll_pg_lmR Documentation

Log-likelihood for pg_lm() model for use in model selection

Description

this function generates the log-linkelihood for data fit using the pg_lm() function. The log-likelihood can be used for model selection and evaluation.

Usage

calc_ll_pg_lm(Y, X, out)

Arguments

Y

is a n x J matrix of compositional count data.

X

is a n x p matrix of climate variables.

out

is a list of MCMC outputs from pg_lm()


jtipton25/pgR documentation built on July 8, 2022, 12:44 a.m.