networkPlot
plots a bibliographic network.
networkPlot(
NetMatrix,
normalize = NULL,
n = NULL,
degree = NULL,
Title = "Plot",
type = "auto",
label = TRUE,
labelsize = 1,
label.cex = FALSE,
label.color = FALSE,
label.n = NULL,
halo = FALSE,
cluster = "louvain",
community.repulsion = 0.1,
vos.path = NULL,
size = 3,
size.cex = FALSE,
curved = FALSE,
noloops = TRUE,
remove.multiple = TRUE,
remove.isolates = FALSE,
weighted = NULL,
edgesize = 1,
edges.min = 0,
alpha = 0.5,
verbose = TRUE
)
is a network matrix obtained by the function biblioNetwork
.
is a character. It can be "association", "jaccard", "inclusion","salton" or "equivalence" to obtain Association Strength, Jaccard, Inclusion, Salton or Equivalence similarity index respectively. The default is type = NULL.
is an integer. It indicates the number of vertices to plot.
is an integer. It indicates the min frequency of a vertex. If degree is not NULL, n is ignored.
is a character indicating the plot title.
is a character object. It indicates the network map layout:
type="auto" |
Automatic layout selection | |
type="circle" |
Circle layout | |
type="sphere" |
Sphere layout | |
type="mds" |
Multidimensional Scaling layout | |
type="fruchterman" |
Fruchterman-Reingold layout |
is logical. If TRUE vertex labels are plotted.
is an integer. It indicates the label size in the plot. Default is labelsize=1
is logical. If TRUE the label size of each vertex is proportional to its degree.
is logical. If TRUE, for each vertex, the label color is the same as its cluster.
is an integer. It indicates the number of vertex labels to draw.
is logical. If TRUE communities are plotted using different colors. Default is halo=FALSE
is a character. It indicates the type of cluster to perform among ("none", optimal", "louvain","infomap","edge_betweenness","walktrap", "spinglass", "leading_eigen", "fast_greedy").
is a real. It indicates the repulsion force among network communities. It is a real number between 0 and 1. Default is community.repulsion = 0.1
.
is a character indicating the full path whre VOSviewer.jar is located.
is integer. It defines the size of each vertex. Default is size=3
.
is logical. If TRUE the size of each vertex is proportional to its degree.
is a logical or a number. If TRUE edges are plotted with an optimal curvature. Default is curved=FALSE
. Curved values are any numbers from 0 to 1.
is logical. If TRUE loops in the network are deleted.
is logical. If TRUE multiple links are plotted using just one edge.
is logical. If TRUE isolates vertices are not plotted.
This argument specifies whether to create a weighted graph from an adjacency matrix. If it is NULL then an unweighted graph is created and the elements of the adjacency matrix gives the number of edges between the vertices. If it is a character constant then for every non-zero matrix entry an edge is created and the value of the entry is added as an edge attribute named by the weighted argument. If it is TRUE then a weighted graph is created and the name of the edge attribute will be weight.
is an integer. It indicates the network edge size.
is an integer. It indicates the min frequency of edges between two vertices. If edge.min=0, all edges are plotted.
is a number. Legal alpha values are any numbers from 0 (transparent) to 1 (opaque). The default alpha value usually is 0.5.
is a logical. If TRUE, network will be plotted. Default is verbose = TRUE
.
It is a list containing the following elements:
graph |
a network object of the class igraph |
|
cluster_obj |
a communities object of the package igraph |
|
cluster_res |
a data frame with main results of clustering procedure. |
The function networkPlot
can plot a bibliographic network previously created by biblioNetwork
.
biblioNetwork
to compute a bibliographic network.
net2VOSviewer
to export and plot the network with VOSviewer software.
cocMatrix
to compute a co-occurrence matrix.
biblioAnalysis
to perform a bibliometric analysis.
# NOT RUN {
# EXAMPLE Keywordd co-occurrence network
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)
# }
Run the code above in your browser using DataLab