Pajek {blockmodeling}R Documentation

Functions for loading and writing Pajek[http://vlado.fmf.uni-lj.si/pub/networks/pajek/] files

Description

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 ".vec" file as a vector.

savevector - Saves a vector in to a Pajek ".vec" file.

Usage

loadnetwork(filename)
savenetwork(n, filename, twomode = 1)
loadmatrix(filename)
savematrix(n, filename, twomode = 1)
loadvector(filename)
savevector(v, filename)

Arguments

filename The name of the file to be loaded or saved to.
n A matrix representing the network
twomode 1 for one-mode networks and 2 for two-mode networks
v A vector

Value

NULL, a matrix or a vector (see Description)

Author(s)

Vladimir Batagelj & Andrej Mrvar (most functions), Aleš Žiberna (loadnetwork)

References

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

See Also

plot.mat,crit.fun,opt.par,opt.random.par,opt.these.par,check.these.par


[Package blockmodeling version 0.1.3 Index]