Learn R Programming

stagedtrees (version 2.2.1)

simple_clustering: Perform a simple clustering in 2 groups

Description

clustering in 2 groups is performed starting from a distance (positive, symmetric) matrix

Usage

simple_clustering(M)

Value

a list with component I and J

(the two clusters).

Arguments

M

matrix of distance.