clusterPlot | R Documentation |
For a given hour, plot the flow-based domain of one typical day along with the other flow-based domains it represents (i.e. other domains of the same cluster).
clusterPlot(data, country1, country2, hour, dayType,
typicalDayOnly = FALSE, ggplot = FALSE, width = "420px",
height = "410px", xlim = c(-10000, 10000), ylim = c(-10000, 10000),
export = T)
data |
|
country1 |
|
country2 |
|
hour |
|
dayType |
|
typicalDayOnly |
|
ggplot |
|
width |
|
height |
|
xlim |
|
ylim |
|
export |
|
## Not run:
# classification result
clusterTD <- readRDS(system.file("testdata/allTypeDaytest.rds",package = "fbClust"))
clusterPlot(clusterTD, "FR", "DE", 3, 1, FALSE, FALSE)
clusterPlot(clusterTD, "ptdfFR", "DE", 3, 1, FALSE, TRUE)
clusterPlot(clusterTD, "FR", "ptdfDE", 3, 1, TRUE, TRUE)
clusterPlot(clusterTD, "ptdfFR", "ptdfDE", 3, 1, TRUE, FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.