{"id":32209703,"url":"https://github.com/mplex/multiplex","last_synced_at":"2025-10-22T06:14:33.682Z","repository":{"id":40685837,"uuid":"65552701","full_name":"mplex/multiplex","owner":"mplex","description":"multiplex: algebraic tools for the analysis of multiple social networks        ","archived":false,"fork":false,"pushed_at":"2025-01-29T12:00:02.000Z","size":1041,"stargazers_count":25,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-05T00:33:32.348Z","etag":null,"topics":["algebra","network-analysis","r","semigroup","semiring"],"latest_commit_sha":null,"homepage":"https://CRAN.R-project.org/package=multiplex","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mplex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-08-12T12:47:26.000Z","updated_at":"2025-05-20T07:38:47.000Z","dependencies_parsed_at":"2022-08-21T06:50:39.944Z","dependency_job_id":"0a6b190d-9beb-48f0-b99b-3963432b1db3","html_url":"https://github.com/mplex/multiplex","commit_stats":{"total_commits":140,"total_committers":1,"mean_commits":140.0,"dds":0.0,"last_synced_commit":"f4b692c793721955b677f6a3f0bbc037e71add6f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mplex/multiplex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mplex%2Fmultiplex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mplex%2Fmultiplex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mplex%2Fmultiplex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mplex%2Fmultiplex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mplex","download_url":"https://codeload.github.com/mplex/multiplex/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mplex%2Fmultiplex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280390587,"owners_count":26322754,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-22T02:00:06.515Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algebra","network-analysis","r","semigroup","semiring"],"created_at":"2025-10-22T06:14:31.871Z","updated_at":"2025-10-22T06:14:33.674Z","avatar_url":"https://github.com/mplex.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n[![CRAN version](https://www.r-pkg.org/badges/version/multiplex?color=green)](https://cran.r-project.org/package=multiplex)\n[![CRANdownloads](https://cranlogs.r-pkg.org/badges/grand-total/multiplex?color=blue)](https://r-pkg.org/pkg/multiplex)\n\n\u003cbr /\u003e\n\n# multiplex\n#### Author: Antonio Rivero Ostoic (@mplex)\n\n\u003cbr /\u003e\n\n\n### Abstract\n\nAlgebraic procedures for the analysis of multiple social networks are delivered with \n[this package](https://cran.r-project.org/web/packages/multiplex/index.html) \nas described in Ostoic (2020) \u003c[DOI:10.18637/jss.v092.i11](https://doi.org/10.18637/jss.v092.i11)\u003e. \n\n* `\"multiplex\"` makes possible, among other things, to create and manipulate multiplex, multimode, and \nmultilevel network data with different formats. \n\n* Effective ways are available to treat multiple networks with routines that combine algebraic systems like the partially ordered \nsemigroup with decomposition procedures or semiring structures with the relational \nbundles occurring in different types of multivariate networks. \n\n* `\"multiplex\"` provides also an algebraic approach for affiliation networks through Galois derivations between families \nof the pairs of subsets in the two domains of the network with visualization options.\n\n\n\u003cbr /\u003e\u003cbr /\u003e\n* * *\n\u003cbr /\u003e\u003cbr /\u003e\n\n\n### Example: Partially Ordered Semigroup of Relations\n\n```r\n### create network data: two types of relations among three elements\nset.seed(123)\narr \u003c- round( replace( array(runif(18), c(3,3,2)), array(runif(18),\n        c(3,3,2))\u003e.5, 3 ) )\n```\n\n\n```r\n### dichotomize data with customized cutoff value\ndichot(arr, c = 3)\n```\n\n\n\n```r\n### string relations\nstrings(arr)\nstrings(arr, equat = TRUE, k = 3)\n```\n\n\n```r\n### create numerical or symbolic semigroup\nsemigroup(arr)\nsemigroup(arr, type = \"symbolic\")\n```\n\n```r\n### Green's relations of symbolic semigroup\nsemigroup(arr, type = \"symbolic\") |\u003e \n  green.rel()\n```\n\n\n\n```r\n### create the partial order\nstrings(arr) |\u003e \n  partial.order(type = \"strings\")\n```\n\n\n```r\n### plot partial order diagram\nrequire(\"Rgraphviz\", quietly = TRUE)\nstrings(arr) |\u003e \n  partial.order(type = \"strings\") |\u003e \n  diagram(type = \"hasse\")\n```\n\nor equivalently:\n\n\n```r\n### plot hasse diagram of the partial order\nrequire(\"Rgraphviz\", quietly = TRUE)\nstrings(arr) |\u003e \n  partial.order(type = \"strings\") |\u003e \n  hasse()\n```\n\n\n\u003cbr /\u003e\u003cbr /\u003e\n* * *\n\u003cbr /\u003e\u003cbr /\u003e\n\n\n### Example: Working with a Two-Mode Network data set\n\u003ci\u003e(taken from the multiplex [vignette](https://cran.r-project.org/web/packages/multiplex/vignettes/TwoModeNetworks.pdf))\u003c/i\u003e\n\n```r\n### Fruits data\nfrt \u003c- data.frame(yellow = c(0,1,0,0,1,0,0,0), green = c(0,0,1,0,0,0,0,1), \n                  red = c(1,0,0,1,0,0,0,0), orange = c(0,0,0,0,0,1,1,0), \n                  apple = c(1,1,1,1,0,0,0,0), citrus = c(0,0,0,0,1,1,1,1))\nrownames(frt) \u003c- c(\"PinkLady\", \"GrannySmith\", \"GoldenDelicious\", \"RedDelicious\", \n                   \"Lemon\", \"Orange\", \"Mandarin\", \"Lime\")\n\n```\n\n\n```r\n### Perform Galois connections among subsets with a reduced labeling\ngalois(frt, labeling = \"reduced\")\n```\n\n\n```r\n### Get the partial order of these \"concepts\"\ngalois(frt, labeling = \"reduced\") |\u003e \n  partial.order(type = \"galois\")\n```\n\n\n```r\n### Plot the concept lattice of the partial order\nrequire(\"Rgraphviz\", quietly = TRUE)\ngalois(frt, labeling = \"reduced\") |\u003e \n  partial.order(type = \"galois\") |\u003e \n  diagram(type = \"concept\")\n```\n\n\u003cbr /\u003e\u003cbr /\u003e\n\u003cbr /\u003e\u003cbr /\u003e\n\u0026nbsp;\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmplex%2Fmultiplex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmplex%2Fmultiplex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmplex%2Fmultiplex/lists"}