caring_create_graphs: Produce interactive multi graphs.

View source: R/caring.R

caring_create_graphsR Documentation

Produce interactive multi graphs.

Description

caring_create_graphs produce an interactive multi graph from caring arguments.

Usage

caring_create_graphs(data,arguments)

Arguments

data

A data frame.

arguments

a list with the caring exported arguments.

Value

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.

Author(s)

Modesto Escobar, Department of Sociology and Communication, University of Salamanca.

Examples

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 = "network"
)
graph <- caring_create_graphs(data,arguments)
## Not run: 
plot(graph)

## End(Not run)

netCoin documentation built on March 31, 2023, 7:34 p.m.