Learn R Programming

greed (version 0.6.1)

cut,DcLbmPath-method: Method to cut a DcLbmPath solution to a desired number of cluster

Description

This method take a DcLbmPath-class and an integer K and return the solution from the path with K clusters

Usage

# S4 method for DcLbmPath
cut(x, K)

Value

an IclPath-class object with the desired number of cluster

Arguments

x

A an DcLbmPath-class solution

K

Desired number of cluster