caring_create_graphs {netCoin} | R Documentation |
caring_create_graphs
produce an interactive multi graph from caring arguments.
caring_create_graphs(data,arguments)
data |
A data frame. |
arguments |
a list with the caring exported arguments. |
This function returns a mGraph
object.
The function creates a folder in your computer with an HTML document named index.html which contains the graph. This file can be directly opened with your browser.
Modesto Escobar, Department of Sociology and Communication, University of Salamanca.
data <- data.frame(Gender=c(rep("Man",3),rep("Woman",3)),
Opinion=c("Yes","Yes","No","No","No","Yes"))
arguments <- list(
variables = c("Gender", "Opinion"),
dichotomies = "Opinion",
valueDicho = "Yes",
plot = c("surCoin","network")
)
graph <- caring_create_graphs(data,arguments)
## Not run:
plot(graph)
## End(Not run)