## handles missing data
betta(c(2000, 3000, 4000, 3000), c(100, 200, 150, NA))
## A test for heterogeneity of apples diversity estimates vs butterfly estimates
betta(c(1552,1500,884),c(305,675,205), cbind(1,c(0,0,1)))
Run the code above in your browser using DataLab