omkm: One-Mode K-Means Heuristic

Description Usage Arguments Value Author(s) References Examples

View source: R/omkm.R

Description

This function runs one-mode K-means for an RO x RO network matrix.

Usage

1
omkm(A, RC, TLIMIT, IDIAG = 0)

Arguments

A

An RO x RO one-mode network matrix.

RC

The number of clusters for row objects (1 < RC < RO).

TLIMIT

A desired time limit.

IDIAG

0 if main diagonal to be ignored, any other value it will be included. Default is 0.

Value

The function returns the following:

Author(s)

Michael Brusco

References

Brusco, M. J., Doreian, P., & Steinley, D. (2019). Deterministic blockmodeling of signed and two-mode networks: a tutorial with psychological examples. British Journal of Mathematical and Statistical Psychology.

Baier, D., Gaul, W., & Schader, M. (1997). Two-mode overlapping clustering with applications in simultaneous benefit segmentation and market structuring. In R. Klar & O. Opitz (Eds), Classification and knowledge organization (pp. 557-566), Heidelberg: Springer.

Brusco, M., & Doreian, P. (2015). A real-coded genetic algorithm for two-mode KL-means partitioning with application to homogeneity blockmodeling. Social Networks, 41, 26-35. http://dx.doi.org/10.1016/j.socnet.2014.11.007 Žiberna, A. (2020). K-means-based algorithm for blockmodeling linked networks. Social Networks, 61, 153–169. https://doi.org/10.1016/j.socnet.2019.10.006

Examples

1
2
3
4
5
6
7
8
# Load the notes borrowing data..
data("notesBorrowing")

#Run one-mode K-means procedure.
res <- omkm(notesBorrowing,RC = 3, TLIMIT = 1, IDIAG = 0)

# See the results.
res

dBlockmodeling documentation built on Feb. 12, 2020, 1:12 a.m.