db.cluster {RGeostats}R Documentation

Calculate the Clustering

Description

Calculate the Clustering

Usage

db.cluster(db, nclusters, npass = 100, mode = 0, verbose = FALSE)

Arguments

db

The db-class which contains the coordinates to be clustered

nclusters

Number of clusters to be found. It must be smaller than the number of active samples in 'db'.

npass

Number of iterations

mode

Type of clustering:

  • 0 for k-means

  • 1 for k-median

verbose

Verbose option

Value

This procedure returns a new db-class with as many samples as there are clusters.


[Package RGeostats version 14.0.10 Index]