Description Usage Arguments Value Examples
View source: R/variablerelationships.R
Finds the hirarchical relationship between all variables and connects them in a network such as to optimize the mutual information.
1 | discover_variable_hierarchies(data, n = 5)
|
data |
the data.frame containing the observations and variables to inspect |
n |
the number of networks to consider |
a character matrix with columns from and to representing the variables that are related
1 2 3 4 5 | data(iris)
data(mtcars)
library(dplyr)
discover_variable_hierarchies(mtcars, 10) %>% as_tibble()
discover_variable_hierarchies(iris, 10) %>% as_tibble()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.