Learn R Programming

ScorePlus (version 0.1)

vertexSearch: select the K vertices from given L centers

Description

select the K vertices from given L centers

Usage

vertexSearch(centers, K)

Arguments

centers

L-by-(K-1) center matrix

K

number of communities.

Value

A list containing

ind

a vector of K integers indicating the index of selected K vertices out of L centers.

dist

The maximum distance from centers to the convex hull formed by the K selected vertice