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 TeachBayes package in your browser

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

TeachBayes documentation built on May 1, 2019, 9:17 p.m.