Description Usage Arguments Examples
Plot flow-based domain(s)
1 2 3 |
PTDF |
|
country1 |
|
country2 |
|
domainsNames |
|
main |
|
xlim |
|
ylim |
|
width |
|
height |
|
1 2 3 4 5 6 7 8 9 10 | PTDF <- fread(system.file("dataset/ptdf_example.csv",package = "flowBasedClustering"))
#Plot unique PTDF
PTDF1 <- PTDF[ Date == "06/08/2016" & Period == 1]
plotFlowbased(PTDF1, country1 = "DE", country2 = "BE", domainsNames = "06/08/2016")
PTDF2 <- list(PTDF[ Date == "06/08/2016" & Period == 1],
PTDF[ Date == "06/08/2016" & Period == 2],
PTDF[ Date == "06/08/2016" & Period == 3])
plotFlowbased(PTDF2, country1 = "DE", country2 = "BE", domainsNames = c("01/11/2015 - H1",
"01/11/2015 - H2", "01/11/2015 - H3"), main = "domains BE - DE")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.