mesh.barycenter {RGeostats} | R Documentation |
Calculate barycenter coordinates for samples of a Db
mesh.barycenter(db, mesh=NA, extendmin=NA, extendmax=NA, cellsize=NA, rotmat=NA, flag.sparse=TRUE, verbose=FALSE)
db |
The |
extendmin |
Array containing the minimum values along all space coordinates. This information is compulsory to run the Turbo Meshing. It will be ignored when using the Standard Meshing ('dbin' or 'dbout' defined). |
extendmax |
Array containing the maximum values along all space coordinates. This information is compulsory to run the Turbo Meshing. It will be ignored when using the Standard Meshing ('dbin' or 'dbout' defined). |
cellsize |
Array containing the spacing interval along all space coordinates. This information is compulsory to run the Turbo Meshing. It will be ignored when using the Standard Meshing ('dbin' or 'dbout' defined). |
rotmat |
Array containing the rotation matrix (Dimension: ndim x ndim). This argument is optional. It will be used when running the Turbo Meshing and will be ignored when using the Standard Meshing ('dbin' or 'dbout' defined). |
mesh |
A |
flag.sparse |
When TRUE (if the package 'Matrix' is loaded), the resulting matrix is returned as a sparse matrix. |
verbose |
Verbose flag. |
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