ward_sv: A MVDA Function

Description Usage Arguments Value

Description

This function execute hierarchical clustering with ward method on single view patient prorotypes

Usage

1
2
ward_sv(nCenters, prototype, corr_method = "pearson",
  use = "pairwise.complete.obs", hls_method = "ward")

Arguments

nCenters

is the number of cluster we want to obtain

prototype

is the matrix of prototype we want to cluster

corr_method

is the method by wich distance is evaluated. Default is pearson.

use

is an optional character string giving a method for computing covariances in the presence of missing values. This must be (an abbreviation of) one of the strings "everything", "all.obs", "complete.obs", "na.or.complete", or "pairwise.complete.obs". Default value="pairwise.complete.obs"

hls_method

is the the agglomeration method to be used for the hclust function. Default value is "ward".

Value

a list containing three field: hls.res is the hclust 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.