logpost_multiclass_: Calculate the log-posterior for a 1-d multi-class population

View source: R/popsim1d.R

logpost_multiclass_R Documentation

Calculate the log-posterior for a 1-d multi-class population

Description

Calculate the log-posterior for a 1-d multi-class population

Usage

logpost_multiclass_(N, n, Y, y, lprior)

Arguments

N

the population size

n

the sample size

Y

a vector indicating the amount of each class in the population.

y

a vector indicating the amount of each class in the sample.

lprior

function uses to calculate the log-prior


ctgrubb/lemur.pack documentation built on May 7, 2023, 4:13 a.m.