Pajek {blockmodeling} | R Documentation |
Functions for reading/loading and writing Pajek files:
loadnetwork
- Loads a Pajek ".net" file as a matrix. For now, only simple one-mode networks are supported.
savenetwork
- Saves a matrix in to a Pajek ".net" file.
loadmatrix
- Loads a Pajek ".mat" file as a matrix.
savematrix
- Saves a matrix in to a Pajek ".mat" file.
loadvector
- Loads a Pajek ".clu" file as a vector.
savevector
- Saves a vector in to a Pajek ".clu" file.
loadnetwork(filename,useSparseMatrix=NULL,minN=50) savenetwork(n, filename, twomode = 1, symetric = all(n==t(n))) loadmatrix(filename) savematrix(n, filename, twomode = 1) loadvector(filename) savevector(v, filename)
filename |
The name of the file to be loaded or saved to. |
useSparseMatrix |
Should a sparse matrix be use instead of the ordinary one? Sparse matices can only be used if package Matrix is installed. The default NULL uses sparsematrices for networks with more that minN vertices |
minN |
The minimal number of units in the network to use sparse matrices. |
n |
A matrix representing the network |
twomode |
1 for one-mode networks and 2 for two-mode networks |
symetric |
If true, only the lower part of the matrix is used and the values are interpreted as "Edges", not "Arcs". |
v |
A vector |
NULL, a matrix or a vector (see Description)
Vladimir Batagelj & Andrej Mrvar (most functions), Aleš Žiberna (loadnetwork
)
Pajek ( V. Batagelj, A. Mrvar: Pajek - Program for Large Network Analysis. Home page http://vlado.fmf.uni-lj.si/pub/networks/pajek/.
W. de Nooy, A. Mrvar, V. Batagelj: Exploratory Social Network Analysis with Pajek, CUP, January 2005
plot.mat
,crit.fun
,opt.par
,opt.random.par
,opt.these.par
,check.these.par