Description Usage Arguments Value Author(s) References See Also Examples
View source: R/plot.assistnet.R
Plots a network from a 'assistnet' object
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## S3 method for class 'assistnet'
plot(
x,
layout = "kamadakawai",
layout.par = list(),
edge.thr = 0,
edge.col.lim = NULL,
edge.col.lab = NULL,
node.size = NULL,
node.size.lab = NULL,
node.col = NULL,
node.col.lim = NULL,
node.col.lab = NULL,
node.pal = colorRampPalette(c("white", "blue", "red")),
edge.pal = colorRampPalette(c("white", "blue", "red")),
...
)
|
x |
an object of class |
layout |
character, network vertex layout algorithm (see |
layout.par |
a list of parameters for the network vertex layout algorithm (see |
edge.thr |
numeric, threshold for edge values; values below the threshold are set to 0. |
edge.col.lim |
numeric vector of length two providing limits of the scale for edge color. |
edge.col.lab |
character, label for edge color legend. |
node.size |
character, indicating the name of the variable for node size (one of the columns of the |
node.size.lab |
character, label for node size legend. |
node.col |
character, indicating the name of the variable for node color (one of the columns of the |
node.col.lim |
numeric vector of length two providing limits of the scale for node color. |
node.col.lab |
character, label for node color legend. |
node.pal |
color palette for node colors. |
edge.pal |
color palette for edge colors. |
... |
other graphical parameters. |
A ggplot2
object
Marco Sandri, Paola Zuccolotto, Marica Manisera (basketballanalyzer.help@unibs.it)
P. Zuccolotto and M. Manisera (2020) Basketball Data Science: With Applications in R. CRC Press.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.