data(butterflies)
optimal.params(butterflies)
#Now the one from Etienne 2005, supplementary online info:
zoo <- count(c(pigs=1, dogs=1, cats=2, frogs=3, bats=5, slugs=8))
optimal.params(zoo) #compare his answer of 7.0479586 and 0.22635923.
Run the code above in your browser using DataLab