line.plot | R Documentation |
Produces a plot with several lines
line.plot(
x,
sort = TRUE,
var.names = colnames(x),
label.x = NULL,
label.y = NULL
)
x |
is a vector or a dataframe of vectors |
sort |
if TRUE values are sorted from highest to lowest |
var.names |
a character vector with the variable names |
label.x |
the label for the x axis |
label.y |
the label for the y axis |
a ggplot2 lineplot
data(den)
health.affil <- has.tags(den, c("Health"))
den.health <- den[den$AFFILIATION %in% health.affil,]
net.health <- elite.network(den.health)
measures <- data.frame(degree = degree(net.health, normalized = TRUE), betweenness = betweenness(net.health, normalized = TRUE))
line.plot(measures)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.