sinkovit / Spatial-ecology

Space use software deployed in the Spatial Ecology Gateway
MIT License
2 stars 0 forks source link

Dev2 - animal area units #45

Open sinkovit opened 1 year ago

sinkovit commented 1 year ago

The dev2 branch contains modifications to app.R and util.R (animalAttributes function) that allow the user to update the units used when calculating the minimum convex polygon areas. This pull request includes smart display of the areas (floats for small values, integers for intermediate values, scientific notation for large values) and avoiding re-reading the data file each time.

Please take a careful look before merging changes into dev since I'm getting a little outside of my comfort zone. I was basically copying what you (Mona) had done. Pay special attention to the bottom of app.R (lines 547-551). Along the way, I also laid out the top set of radio buttons (2D/2.5D/3D) so that they appear horizontally.