shinyCoin: Include netCoin Plots in Shiny.

shinyCoinR Documentation

Include netCoin Plots in Shiny.

Description

Load a netCoin plot to display in shiny.

Usage

shinyCoin(x)

Arguments

x

is a netCoin, barCoin or timeCoin object.

Author(s)

Modesto Escobar, Department of Sociology and Communication, University of Salamanca. See https://sociocav.usal.es/blog/modesto-escobar/

Examples

## Not run: 
# A character column (with separator)
frame <- data.frame(A = c("Man; Women", "Women; Women",
                        "Man; Man", "Undet.; Women; Man"))
data <- dichotomize(frame, "A", sep="; ")[2:4]
C <- coin(data) # coincidence matrix
N <- asNodes(C) # node data frame
E <- edgeList(C) # edge data frame
net <- netCoin(N, E) # netCoin object
shinyCoin(net)

## End(Not run)

netCoin documentation built on Oct. 18, 2024, 5:10 p.m.