logpost_binary_fast_: Calculate the log-posterior for a 1-d binary population...

View source: R/popsim1d_fast.R

logpost_binary_fast_R Documentation

Calculate the log-posterior for a 1-d binary population (quickly)

Description

Calculate the log-posterior for a 1-d binary population (quickly)

Usage

logpost_binary_fast_(P, n_0, n_1, lprior, ...)

Arguments

P

the population proportion

n_0

the number of failures in the sample

n_1

the number of successes in the sample

lprior

function uses to calculate the log-prior

...

other arguments, passed to the lprior function


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