Description Usage Arguments Value
This function execute kmeans clustering on single view patient prorotypes. It require library amap.
1 2 | kmeans_preprocessing(DB = NULL, nCenters = NULL, iter.max = 100,
nstart = 10, method = "pearson")
|
DB |
is your matrix dataset |
nCenters |
is the desidered number of cluster |
iter.max |
The maximum number of iterations allowed to Kmeans |
nstart |
If nCenter is a number, how many random sets should be chosen? |
method |
is the method by wich distance is evaluated. Default is pearson. |
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.