kaitlyngaynor / gorongosa-mesocarnivores

2 stars 0 forks source link

do I need to make anything negative? #75

Closed klg-2016 closed 4 years ago

klg-2016 commented 4 years ago

https://github.com/kaitlyngaynor/gorongosa-mesocarnivores/blob/94db63a96cb22048c6f4896145f6d3b59c84e3b9/scripts/02-multi-species-occupancy-analysis-GNP.Rmd#L190

I saw on some of your other code that the lake covariate needed to be multiplied by -1 to be made "distance to." Do I need to do that here?

kaitlyngaynor commented 4 years ago

Not necessarily. I just reversed the direction for the effect size plot so that it became analogous to "proximity to lake". We did this so that the plot was more intuitive (if it is a positive value, animals associate with the lake, and if it is negative, they stay away from it).

In your case, if you wanted to go this route for the prediction plots, the more appropriate thing to do would be to reverse the x-axis so it went from high to low "distance to lake" values. But maybe that makes it MORE confusing.

On Thu, Aug 20, 2020 at 11:14 AM klg-2016 notifications@github.com wrote:

https://github.com/kaitlyngaynor/gorongosa-mesocarnivores/blob/94db63a96cb22048c6f4896145f6d3b59c84e3b9/scripts/02-multi-species-occupancy-analysis-GNP.Rmd#L190

I saw on some of your other code that the lake covariate needed to be multiplied by -1 to be made "distance to." Do I need to do that here?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kaitlyngaynor/gorongosa-mesocarnivores/issues/75, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHA7WT3O4JVS3KTQFXWPT33SBVRW5ANCNFSM4QGONGIA .

-- Kaitlyn Gaynor Postdoctoral researcher National Center for Ecological Analysis and Synthesis University of California - Santa Barbara

klg-2016 commented 4 years ago

Ahhhh that makes more sense why it was necessary in your case and not here. No, I think 0-20km going left to right makes more intuitive sense to me at least.

klg-2016 commented 4 years ago

Thank you!

kaitlyngaynor commented 4 years ago

np! am impressed with how attentive you are to these details :)

On Thu, Aug 20, 2020 at 11:30 AM klg-2016 notifications@github.com wrote:

Thank you!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kaitlyngaynor/gorongosa-mesocarnivores/issues/75#issuecomment-677827247, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHA7WT7TZ7SVKFJGVEENXCLSBVTUBANCNFSM4QGONGIA .

-- Kaitlyn Gaynor Postdoctoral researcher National Center for Ecological Analysis and Synthesis University of California - Santa Barbara

klg-2016 commented 4 years ago

Thanks! :)