Nothing
#' Coerce a cartogramR to a sfc object
#'
#' Coerce a cartogramR to a sfc object extracting the component cartogram of
#' the cartogramR object
#'
#' @param x a cartogramR object
#' @param \\dots arguments passed to or from other methods.
#'
#' @return a sfc object
#'
#' @rdname as.sfc.cartogramR
#' @export
#'
#' @md
as.sfc.cartogramR <- function(x, ...) {
if (!inherits(x, "cartogramR")) stop(paste(deparse(substitute(x)), "must be a cartogramR object"))
return(x$cartogram)
}
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.