R/coprobbase.R

coprobbase <-
function(max_inc,j,min_inc,nsite){
    as.numeric(round(choose(max_inc,j) * choose(nsite - max_inc, min_inc - j),0) / round(choose(nsite,min_inc),0))
}

Try the cooccur package in your browser

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

cooccur documentation built on May 2, 2019, 6:44 a.m.