Nothing
.th_naCount <- function(x) {
if (inherits(x, "SpatRaster")) {
return(as.numeric(global(is.na(x), "sum")))
}
t(global(is.na(x), sum))
}
.th_minmax <- function(x, names = FALSE) {
if (inherits(x, "SpatRaster")) {
mm <- minmax(x)
if(!names) dimnames(mm) <- NULL
} else {
mm <- rbind(min(values(x)), max(values(x)))
if(names) colnames(mm) <- names(x)
}
return(mm)
}
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.