Learn R Programming

bibliometrix (version 4.3.0)

net2Pajek: Save a network graph object as Pajek files

Description

The function net2Pajek save a bibliographic network previously created by networkPlot as pajek files.

Usage

net2Pajek(net, filename = "my_pajek_network", path = NULL)

Value

The function returns no object but will save three Pajek files in the folder given in the "path" argument with the name "filename.clu," "filename.vec," and "filename.net."

Arguments

net

is a network graph object returned by the function networkPlot.

filename

is a character. It indicates the filename for Pajek export files.

path

is a character. It indicates the path where the files will be saved. When path="NULL, the files will be saved in the current folder. Default is NULL.

See Also

net2VOSviewer to export and plot the network with VOSviewer software.

Examples

Run this code
if (FALSE) {
data(management, package = "bibliometrixData")

NetMatrix <- biblioNetwork(management, analysis = "co-occurrences", 
network = "keywords", sep = ";")

net <- networkPlot(NetMatrix, n = 30, type = "auto", Title = "Co-occurrence Network",labelsize=1) 

net2Pajek(net, filename="pajekfiles", path=NULL)
}

Run the code above in your browser using DataLab