mesh.barycenter {RGeostats} | R Documentation |
Calculate barycenter coordinates for samples of a Db
mesh.barycenter(db, mesh.list, flag.sparse=FALSE)
db |
The |
mesh.list |
The list containing the meshing information. Check the output of
|
flag.sparse |
When TRUE (if the package 'Matrix' is loaded), the resulting matrix is returned as a sparse matrix. |
This function returns a sparse matrix. It be formatted:
As a set of three vectors) containing:
The rank of the sample (in the Db)
The rank of the node (in the mesh)
The weight
As a sparse matrix