R/dsampling.R

Defines functions dsampling

Documented in dsampling

dsampling <- function(sample_b, pop_N, pop_B, sample_n){
  dhyper(sample_b, m=pop_B, n=pop_N - pop_B, k=sample_n)
}

Try the ProbBayes package in your browser

Any scripts or data that you put into this service are public.

ProbBayes documentation built on March 13, 2020, 1:31 a.m.