mean.sk: Calculate the mean value in a grid

View source: R/sk_methods.R

mean.skR Documentation

Calculate the mean value in a grid

Description

This calculates the mean over all layers (if any)

Usage

## S3 method for class 'sk'
mean(x, ...)

Arguments

x

a sk object

...

further arguments to default mean method

Value

numeric

Examples

g = sk_validate(list(gval=stats::rnorm(4^2), gdim=4, gres=0.5))
mean(g) == mean(g[])


snapKrig documentation built on May 31, 2023, 6:34 p.m.