Package: blockmodeling 1.1.5

Aleš Žiberna

blockmodeling: Generalized and Classical Blockmodeling of Valued Networks

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)<doi:10.1016/j.socnet.2006.04.002>, Žiberna (2008)<doi:10.1080/00222500701790207>, Žiberna (2014)<doi:10.1016/j.socnet.2014.04.002>.

Authors:Aleš Žiberna [aut, cre], Marjan Cugmas [ctb]

blockmodeling_1.1.5.tar.gz
blockmodeling_1.1.5.tar.gz(r-4.5-noble)blockmodeling_1.1.5.tar.gz(r-4.4-noble)
blockmodeling_1.1.5.tgz(r-4.4-emscripten)blockmodeling_1.1.5.tgz(r-4.3-emscripten)
blockmodeling.pdf |blockmodeling.html
blockmodeling/json (API)

# Install 'blockmodeling' in R:
install.packages('blockmodeling', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:
  • baker - Citation data between social work journals for the 1985-86 period
  • notesBorrowing - The notes borrowing network between social-informatics students

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

3.55 score 12 packages 79 scripts 1.2k downloads 78 exports 2 dependencies

Last updated 1 years agofrom:a51103dc39. Checks:OK: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 15 2024
R-4.5-linux-x86_64OKNov 15 2024

Exports:adcanClucanCluUniqeclucrandcrand2critFunCEMerrexpandMatfind.cutfind.mfind.m2formatAfun.by.blocksfunByBlocksgenMatrixMultgenRandomPargplot1gplot2IMircNormloadmatrixloadnetworkloadnetwork2loadnetwork3loadnetwork4loadpajekloadvectorloadvector2nanRepnkparnkpartitionsone2twooptParCoptRandomParCorderClupartitionsplot.matplotArrayplotMatplotMatNmprintBlocksrandrand2recodeREGD.forREGD.ne.forREGD.ow.forREGEREGE.FCREGE.FC.owREGE.forREGE.ne.forREGE.nm.diag.forREGE.nm.forREGE.nm.ne.forREGE.owREGE.ow.forREGE.ow.ne.forREGE.ownm.diag.forREGE.ownm.forREGE.ownm.ne.forrelInvrelInv2reorderImageRFsavematrixsavenetworksavevectorsedistsplitClusplitCluResssssNatwo2oneunlistCluunlistCluInt

Dependencies:latticeMatrix

Readme and manuals

Help Manual

Help pageTopics
Citation data between social work journals for the 1985-86 periodbaker
An R package for Generalized and classical blockmodeling of valued networksblockmodeling-package blockmodeling
Create canonical partition and find unique canonical partitions in a list of partitions.canClu canCluUniqe
Function for extraction of some elements for objects, returend by functions for Generalized blockmodelingclu EM err IM partitions
Functions for Generalized blockmodeling for valued networkscritFunC optParC
Expands a square matrix by repeating each row/column the specified number of times.expandMat
Computing the thresholdfind.cut find.m find.m2
A formating function for numbersformatA
Computation of function values by blocksfun.by.blocks funByBlocks funByBlocks.default funByBlocks.opt.more.par funByBlocks.optMorePar
Generalized matrix multiplicationgenMatrixMult
The function for generating random partitionsgenRandomPar
A wrapper for function gplot - Two-Dimensional Visualization of Graphsgplot1 gplot2
Function for iterated row and column normalization of valued matricesircNorm
Functions for loading and writing Pajek filesloadmatrix loadnetwork loadnetwork2 loadnetwork3 loadnetwork4 loadpajek loadvector loadvector2 Pajek savematrix savenetwork savevector
Replaces NaN values by the speficied values (0 by default)nanRep
Functions for listing all possible partitions or just counting the number of themnkpar nkpartitions
The notes borrowing network between social-informatics studentsnotesBorrowing
Two-mode network conversionsone2two two2one
Optimizing a set of partitions based on the value of a criterion functionoptRandomParC print.optMorePar
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.orderClu
Functions for plotting a partitioned matrix (representing the network)plot.crit.fun plot.critFun plot.mat plot.opt.more.par plot.opt.more.par.mode plot.opt.par plot.opt.par.mode plot.optMorePar plot.optMoreParMode plot.optPar plot.optParMode plotArray plotMat plotMatNm
Nice printing of the 'blocks' parameter as used in 'optRandomParC' and 'critFunC'.printBlocks
Comparing partitions on one or multiple sets of unitscrand crand2 rand rand2
Recoderecode
REGE - Algorithms for compiting (dis)similarities in terms of regular equivalneceREGD.for REGD.ne.for REGD.ow.for REGD.ow.ne.for REGE REGE.FC REGE.FC.ow REGE.for REGE.ne.for REGE.nm.diag.for REGE.nm.for REGE.nm.ne.for REGE.ow REGE.ow.for REGE.ow.ne.for REGE.ownm.diag.for REGE.ownm.for REGE.ownm.ne.for
Functions for computing "relative inverse" ('x[1]/x').relInv relInv2
Reordering an image matrix of the blockmodel (or an error matrix based on new and old partitionreorderImage
Calculate the value of the Relative Fit functionRF
Computes distances in terms of Structural equivalence (Lorrain & White, 1971)sedist
Functions creating a list of partitions based on a single partition and information on the number of units in each set.splitClu splitCluRes
Sum of Squared deviations from the mean and sum of Absolute Deviations from the medianad ss ssNa
Function for "unlisting" a partition.unlistClu
Unlist a partition.unlistCluInt