Understanding probabilistic species co-occurrence

With calculations in R