Description Usage Arguments Value References Examples
Interface that uses a RVineMatrix
object that can be displayed using visNetworks
1 2 3 |
RVM |
RVineMatrix object |
group |
a vector containing the name of the groups (by default, groups are 1) |
group.size |
a vector with the number of variables in each group |
colours |
a vector of length equal to |
shape |
parameter specifying node shape |
seed |
formation seed |
Packages loaded into R
http://datastorm-open.github.io/visNetwork/
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | load_pkg(c("dplyr", "visNetwork", "tidyr", "VineCopula"))
group <- Market_info$Hanjo.Industry %>% as.character()
group.size <-
Market_info %>%
group_by(Hanjo.Industry) %>%
summarise(n = n()) %>%
select(n) %>% unlist
colours <- c("#39c9bb", "#398fc9", "#39c973"," #bb39c9", "#c9bb39")
VisVineR(
RVM,
group = group,
group.size = group.size,
seed = seed,
colours = colours,
shape = shape,
seed = 50)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.