R package to perform occupancy analysis