Mar-scal / Assessment_fns

SKY version - SABHU TEAM: Please fork this repo if planning to work on it from network directory. NO EDITS OR BRANCHES ALLOWED!
GNU General Public License v3.0
2 stars 6 forks source link

survey design to sf #103

Closed freyakeyser closed 2 years ago

freyakeyser commented 2 years ago

st_sample(your.strata, size = your.strata$n.stations,type = 'random', exact = T) %>% st_sf('strata' = seq(length(.)), 'geometry' = .) %>% st_intersection(., your.strata)

freyakeyser commented 2 years ago

Done in time for 2022 spring survey. Very important to set st_use_s2 as False!