sampleImg | R Documentation |
#' @export sampleGcd <- function(n, addNA = TRUE, scope = "world", ...) df <- geoDataframe(scope) v <- sample2(df$id,n) if(addNA) vsample(n,round(n/10)) <- NA Gcd(v)
sampleImg(n, addNA = TRUE, ...)
#' @export sampleGnm <- function(n,addNA = TRUE, scope = "world", ...) df <- geoDataframe(scope) v <- sample2(df$name,n) if(addNA) vsample(n,round(n/10)) <- NA Gnm(v)
#' @export sampleGlt <- function(n,addNA = TRUE, scope = "world", ...) df <- geoDataframe(scope) v <- sample2(df$lat,n) if(addNA) vsample(n,round(n/10)) <- NA Glt(v)
#' @export sampleGln <- function(n,addNA = TRUE, scope = "world", ...) df <- geoDataframe(scope) v <- sample2(df$lon,n) if(addNA) vsample(n,round(n/10)) <- NA Gln(v)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.