Nothing
#' Check if Points as Inside a Polygon
#'
#' @param pontos A vector
#' @param limites A vector
#' @return Vector of points
#' @export
setDentroFora <- function(pontos, limites) {
pontos@data$DENTRO<-!is.na(over(pontos, as(limites, "SpatialPolygons")))
plot(limites)
plot(pontos[pontos@data$DENTRO==T,],add=T, col="blue")
plot(pontos[pontos@data$DENTRO==F,],add=T, col="red")
return(pontos)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.