ryanzomorrodi / centr

A Package For Weighted and Unweighted Spatial Centers
https://ryanzomorrodi.github.io/centr/
Other
2 stars 0 forks source link

Set output as sf tibble when x is an sf tibble #10

Closed ryanzomorrodi closed 1 month ago

ryanzomorrodi commented 1 month ago

I believe I can just do it this way, so as to not take on a tibble dependency

class(output) <- c("sf", "tbl_df", "tbl", "data.frame")