mesh.barycenter {RGeostats}R Documentation

Calculate barycenter coordinates for samples of a Db

Description

Calculate barycenter coordinates for samples of a Db

Usage

mesh.barycenter(db, mesh.list, flag.sparse=FALSE)

Arguments

db

The db-class containing the samples for which the barycenter coordinates must be calculated

mesh.list

The list containing the meshing information. Check the output of meshing for explanations.

flag.sparse

When TRUE (if the package 'Matrix' is loaded), the resulting matrix is returned as a sparse matrix.

Value

This function returns a sparse matrix. It be formatted:


[Package RGeostats version 11.2.12 Index]