pppbound <- function(df){
boundary <- df
boundary <- sf::st_transform(boundary, crs=3435)
boundary.sp <- sf::as_Spatial(boundary)
pboundary <- maptools::as.owin.SpatialPolygons(boundary.sp)
pboundary
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.