C2: Title C2

Description Usage Arguments Value Examples

Description

Title C2

Usage

1
2
C2(x, y, feature_selection_method, num_clusters_method, k = NULL,
  clustering_method, ...)

Arguments

x

data matrix

y

Dependent variable

feature_selection_method

method for the feature selection of the clinical measurements stage. Default RF.

num_clusters_method

method for the choosing number of clusters by using the clinical measurements. Default Euclidean.

k

number of clusters to use. If missing, we use a detection method. Defaukt as NULL

clustering_method

method for clustering using the reduced clinical measures. Default is Hmanhattan,

Value

a list of three variables: 1) vector with the names of the omportant variables chosen. 2) number of classes that will be used for clustering 3) vector of the new assigned clusterst

Examples

1
2
resultC2 <- C2(x, y, feature_selection_method='RF', num_clusters_method='Manhattan', clustering_method='Manhattan', plot.num.clus=TRUE, plot.clustering=TRUE)
C2(x, y, feature_selection_method='BIC', num_clusters_method='Manhattan', clustering_method='Hmanhattan', plot.num.clus=TRUE, plot.clustering=FALSE, nbest=1, nvmax=8, B=50)

HBPMedical/CCC documentation built on May 28, 2019, 12:40 p.m.