an r package for use with the maximum entropy theory of ecology