covWeight: Create a weighted covariance matrix

View source: R/covWeight.R

covWeightR Documentation

Create a weighted covariance matrix

Description

Create a weighted covariance matrix

Usage

covWeight(m, weights, ...)

Arguments

m

a matrix (e.g. as returned by raster::getValues())

weights

a numeric vector of weights. For lat/lon data this can be produced with getWeights()

...

additional arguments passed to stats::cov.wt()

Value

see stats::cov.wt()

See Also

stats::cov.wt()


environmentalinformatics-marburg/remote documentation built on June 12, 2025, 1:10 p.m.