plot_ptn | R Documentation |
A plot method for public transportation networks (PTNs).
plot_ptn(
g,
color.coding = NULL,
color.scheme = rev(sequential_hcl(5)),
legend = FALSE,
...
)
g |
|
color.coding |
numeric vector with length equal to the number of network nodes |
color.scheme |
character vector of length 5 indicating the |
legend |
logical indicating whether legend for color-coding should be added or not. |
... |
further arguments to be passed to |
No return value
Other network helper:
analyze_ptn()
data(ptnAth)
plot_ptn(ptnAth)
data(ptnGoe)
plot_ptn(ptnGoe)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.