Learn R Programming

blockmodeling (version 1.1.8)

Generalized and Classical Blockmodeling of Valued Networks

Description

This is primarily meant as an implementation of generalized blockmodeling for valued networks. In addition, measures of similarity or dissimilarity based on structural equivalence and regular equivalence (REGE algorithms) can be computed and partitioned matrices can be plotted: Žiberna (2007), Žiberna (2008), Žiberna (2014).

Copy Link

Version

Install

install.packages('blockmodeling')

Monthly Downloads

1,237

Version

1.1.8

License

GPL (>= 2)

Maintainer

Ales Ziberna

Last Published

July 25th, 2025

Functions in blockmodeling (1.1.8)

genMatrixMult

Generalized matrix multiplication
gplot1

A wrapper for function gplot - Two-Dimensional Visualization of Graphs
genRandomPar

The function for generating random partitions
find.cut

Computing the threshold
funByBlocks.default

Computation of function values by blocks
formatA

A formating function for numbers
nkpar

Functions for listing all possible partitions or just counting the number of them
nanRep

Replaces NaN values by the speficied values (0 by default)
notesBorrowing

The notes borrowing network between social-informatics students
orderClu

Orders the partition so that mean values of fun applied to columns (if funWay=2, default), rows (if funWay=1) or both (if funWay=c(1,2)) is decreasing by clusters.
ircNorm

Function for iterated row and column normalization of valued matrices
sedist

Computes distances in terms of Structural equivalence (Lorrain & White, 1971)
rand

Comparing partitions on one or multiple sets of units
printBlocks

Nice printing of the blocks parameter as used in optRandomParC and critFunC.
reorderImage

Reordering an image matrix of the blockmodel (or an error matrix based on new and old partition
plot.critFun

Functions for plotting a partitioned matrix (representing the network)
unlistCluInt

Unlist a partition.
splitClu

Functions creating a list of partitions based on a single partition and information on the number of units in each set.
numClust

Number of Clusters in a Partition or List of Partitions
recode

Recode
unlistClu

Function for "unlisting" a partition.
ss

Sum of Squared deviations from the mean and sum of Absolute Deviations from the median
one2two

Two-mode network conversions
relInv

Functions for computing "relative inverse" (x[1]/x).
optRandomParC

Optimizing a set of partitions based on the value of a criterion function
expandMat

Expands a square matrix by repeating each row/column the specified number of times.
canClu

Create canonical partition and find unique canonical partitions in a list of partitions.
RF

Calculate the value of the Relative Fit function
encodeToZeroIndexed

Encode Integer Vector with Consecutive Values Starting from 0
baker

Citation data between social work journals for the 1985-86 period
clu

Function for extraction of some elements for objects, returend by functions for Generalized blockmodeling
blockmodeling

An R package for Generalized and classical blockmodeling of valued networks
loadmatrix

Functions for loading and writing Pajek files
REGE.FC

REGE - Algorithms for compiting (dis)similarities in terms of regular equivalnece
critFunC

Functions for Generalized blockmodeling for valued networks