kmeans_preprocessing: A MVDA Function

Description Usage Arguments Value

Description

This function execute kmeans clustering on single view patient prorotypes. It require library amap.

Usage

1
2
kmeans_preprocessing(DB = NULL, nCenters = NULL, iter.max = 100,
  nstart = 10, method = "pearson")

Arguments

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.

Value

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.


angy89/MVDA_package documentation built on May 7, 2019, 8:58 p.m.