powered by
Generate nodes for the input data frame, returns data frame of possible nodes and its IDs for the further process.
getNodes(crude_data, columns_for_nodes = NULL, group = FALSE)
Data frame, each unique item is a node and associated with unique id
Data Frame that you want to build a network for.
Vector of column names for crude_data, works well for at least 3 columns
Logical value, set TRUE to differentiate nodes by shapes and colors. Default value is FALSE
Jayachandra N
getNodes(head(mtcars), c("cyl", "gear", "vs"), group = TRUE)
Run the code above in your browser using DataLab