multiplex

multiplex: algebraic tools for the analysis of multiple social networks

https://github.com/mplex/multiplex

Science Score: 57.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.4%) to scientific vocabulary

Keywords

algebra network-analysis r semigroup semiring
Last synced: 4 months ago · JSON representation ·

Repository

multiplex: algebraic tools for the analysis of multiple social networks

Basic Info
Statistics
  • Stars: 25
  • Watchers: 4
  • Forks: 4
  • Open Issues: 0
  • Releases: 0
Topics
algebra network-analysis r semigroup semiring
Created over 9 years ago · Last pushed 12 months ago
Metadata Files
Readme Citation

README.md

CRAN version CRANdownloads


multiplex

Author: Antonio Rivero Ostoic (@mplex)


Abstract

Algebraic procedures for the analysis of multiple social networks are delivered with this package as described in Ostoic (2020) <DOI:10.18637/jss.v092.i11>.

  • "multiplex" makes possible, among other things, to create and manipulate multiplex, multimode, and multilevel network data with different formats.

  • Effective ways are available to treat multiple networks with routines that combine algebraic systems like the partially ordered semigroup with decomposition procedures or semiring structures with the relational bundles occurring in different types of multivariate networks.

  • "multiplex" provides also an algebraic approach for affiliation networks through Galois derivations between families of the pairs of subsets in the two domains of the network with visualization options.






Example: Partially Ordered Semigroup of Relations

```r

create network data: two types of relations among three elements

set.seed(123) arr <- round( replace( array(runif(18), c(3,3,2)), array(runif(18), c(3,3,2))>.5, 3 ) ) ```

```r

dichotomize data with customized cutoff value

dichot(arr, c = 3) ```

```r

string relations

strings(arr) strings(arr, equat = TRUE, k = 3) ```

```r

create numerical or symbolic semigroup

semigroup(arr) semigroup(arr, type = "symbolic") ```

```r

Green's relations of symbolic semigroup

semigroup(arr, type = "symbolic") |> green.rel() ```

```r

create the partial order

strings(arr) |> partial.order(type = "strings") ```

```r

plot partial order diagram

require("Rgraphviz", quietly = TRUE) strings(arr) |> partial.order(type = "strings") |> diagram(type = "hasse") ```

or equivalently:

```r

plot hasse diagram of the partial order

require("Rgraphviz", quietly = TRUE) strings(arr) |> partial.order(type = "strings") |> hasse() ```






Example: Working with a Two-Mode Network data set

(taken from the multiplex vignette)

```r

Fruits data

frt <- data.frame(yellow = c(0,1,0,0,1,0,0,0), green = c(0,0,1,0,0,0,0,1), red = c(1,0,0,1,0,0,0,0), orange = c(0,0,0,0,0,1,1,0), apple = c(1,1,1,1,0,0,0,0), citrus = c(0,0,0,0,1,1,1,1)) rownames(frt) <- c("PinkLady", "GrannySmith", "GoldenDelicious", "RedDelicious", "Lemon", "Orange", "Mandarin", "Lime")

```

```r

Perform Galois connections among subsets with a reduced labeling

galois(frt, labeling = "reduced") ```

```r

Get the partial order of these "concepts"

galois(frt, labeling = "reduced") |> partial.order(type = "galois") ```

```r

Plot the concept lattice of the partial order

require("Rgraphviz", quietly = TRUE) galois(frt, labeling = "reduced") |> partial.order(type = "galois") |> diagram(type = "concept") ```





 

Owner

  • Name: Antonio Rivero Ostoic
  • Login: mplex
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.2.0
message: "To cite multiplex in publications use:"
authors:
- family-names: "Ostoic"
  given-names: "JAR"
  orcid: "https://orcid.org/0000-0001-8736-7152"
title: "Algebraic Analysis of Multiple Social Networks with multiplex"
version: 3.3
doi: 10.32614/CRAN.package.multiplex
date-released: 2013-08-28
url: "https://CRAN.R-project.org/package=multiplex"

GitHub Events

Total
  • Watch event: 1
  • Push event: 11
Last Year
  • Watch event: 1
  • Push event: 11

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 140
  • Total Committers: 1
  • Avg Commits per committer: 140.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 13
  • Committers: 1
  • Avg Commits per committer: 13.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Antonio Rivero Ostoic m****x@p****m 140
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 5 months ago

All Time
  • Total issues: 4
  • Total pull requests: 0
  • Average time to close issues: about 1 month
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 1.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • mplex (4)
Pull Request Authors
Top Labels
Issue Labels
bug (2) help wanted (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 697 last-month
  • Total docker downloads: 43,412
  • Total dependent packages: 3
  • Total dependent repositories: 6
  • Total versions: 35
  • Total maintainers: 1
cran.r-project.org: multiplex

Algebraic Tools for the Analysis of Multiple Social Networks

  • Versions: 35
  • Dependent Packages: 3
  • Dependent Repositories: 6
  • Downloads: 697 Last month
  • Docker Downloads: 43,412
Rankings
Dependent packages count: 10.9%
Stargazers count: 11.5%
Dependent repos count: 12.0%
Forks count: 12.2%
Average: 14.9%
Downloads: 16.9%
Docker downloads count: 25.8%
Maintainers (1)
Last synced: 5 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.5.0 depends
  • methods * imports
  • Rgraphviz * suggests
  • knitr * suggests
  • multigraph * suggests
  • rmarkdown * suggests