R/method_getSampleSize-SamplingPattern.R

setMethod(
    f = "getSampleSize",
    signature = signature(
        object = "SamplingPattern"
    ),
    definition = function(object) {
        nrow(coordinates(object@sample))
    }
)

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.