Nothing
#' Find midpoint of a DEM
#'
#' @param data A DEM in RasterLayer format.
#'
#' @return A data frame with x and y midpoints.
#' @export
#'
#' @examples
#' mid_find(horseshoe)
mid_find <- function(data){
data.frame(
x_mid = mean(raster::extent(data)[c(1,2)],),
y_mid = mean(raster::extent(data)[c(3,4)])
)
}
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.