Package: blockmodeling 1.1.8

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.8.tar.gz
blockmodeling_1.1.8.tar.gz(r-4.7-arm64)blockmodeling_1.1.8.tar.gz(r-4.7-x86_64)blockmodeling_1.1.8.tar.gz(r-4.6-arm64)blockmodeling_1.1.8.tar.gz(r-4.6-x86_64)
blockmodeling_1.1.8.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION
card.svg |card.png
blockmodeling/json (API)

# Install 'blockmodeling' in R:
install.packages('blockmodeling', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))
Datasets:
  • baker - Citation data between social work journals for the 1985-86 period
  • notesBorrowing - The notes borrowing network between social-informatics students

On CRAN:

Conda:

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

3.50 score 12 packages 88 scripts 959 downloads 80 exports 2 dependencies

Last updated from:524d18be8d. Checks:6 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK209
linux-devel-x86_64OK154
source / vignettesOK170
linux-release-arm64OK151
linux-release-x86_64OK152
wasm-releaseOK268

Exports:adcanClucanCluUniqeclucrandcrand2critFunCEMencodeToZeroIndexederrexpandMatfind.cutfind.mfind.m2formatAfun.by.blocksfunByBlocksgenMatrixMultgenRandomPargplot1gplot2IMircNormloadmatrixloadnetworkloadnetwork2loadnetwork3loadnetwork4loadpajekloadvectorloadvector2nanRepnkparnkpartitionsnumClustone2twooptParCoptRandomParCorderClupartitionsplot.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
Encode Integer Vector with Consecutive Values Starting from 0encodeToZeroIndexed
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
Number of Clusters in a Partition or List of PartitionsnumClust
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