This is an assortment of code I developed during my dissertation from several interrelated ecology projects.