Logistic Methods for Resource Selection Functions and Presence-Only Species Distribution Models