R/method_stratify-SpatialGrid.R

setMethod(
    f = "stratify",
    signature = signature(
        object = "SpatialGrid"
    ),
    definition = function(object, nStrata, priorPoints = NULL, maxIterations = 1000L, nTry = 1L,
        equalArea = FALSE, verbose = getOption("verbose")) {
        stratify(object = as(object, "SpatialPixels"),
                 nStrata = nStrata, priorPoints = priorPoints, maxIterations = maxIterations,
                 nTry = nTry, equalArea = equalArea, verbose = verbose)
    }
)

Try the spcosa package in your browser

Any scripts or data that you put into this service are public.

spcosa documentation built on April 11, 2023, 6:04 p.m.