Description Usage Arguments Value
This function execute partitioning around medoids algoritm using function from fpc package.
1 | pamk_preprocessing(DB = NULL, nCenters = NULL, initial_medoids = NULL)
|
DB |
is your matrix dataset |
nCenters |
is the desidered number of cluster |
initial_medoids |
index of the desidered initial medoids you want to use to initialize the algorithm |
a list containing three field: pamk.res is the pamk results. clustering is the vector with clustering assignment. center is the matrix with center prototypes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.