{
  "_id": "6a17fc7dacfb0bcc41daa6c1",
  "Package": "mutualinf",
  "Type": "Package",
  "Title": "Computation and Decomposition of the Mutual Information Index",
  "Version": "2.0.4",
  "Date": "2025-07-28",
  "Authors@R": "c(person(\"Cristian\", \"Angulo-Gonzalez\", email = \"cristian_world@hotmail.cl\", role = c(\"aut\", \"cre\")),\nperson(\"Rafael\", \"Fuentealba-Chaura\", email = \"rafael.fuentealba97@gmail.com\", role = \"aut\"),\nperson(\"Ricardo\", \"Mora\", email = \"ricmora@eco.uc3m.es\", role = \"aut\"),\nperson(\"Julio\", \"Rojas-Mora\", email = \"julio.rojas@uct.cl\", role = \"aut\"),\nperson(\"FONDECYT/ANID Project 11170583\", role = \"fnd\"),\nperson(\"MCIN/AEI/10.13039/501100011033 (Project no. PID2019-108576RB-I00)\", role = \"fnd\"),\nperson(\"UCT VIP Project FEQUIP2019-INRN-03\", role = \"fnd\"))",
  "Maintainer": "Cristian Angulo-Gonzalez <cristian_world@hotmail.cl>",
  "Description": "The Mutual Information Index (M) introduced to social\nscience literature by Theil and Finizza (1971)\n<doi:10.1080/0022250X.1971.9989795> is a multigroup segregation\nmeasure that is highly decomposable and that according to\nFrankel and Volij (2011) <doi:10.1016/j.jet.2010.10.008> and\nMora and Ruiz-Castillo (2011)\n<doi:10.1111/j.1467-9531.2011.01237.x> satisfies the Strong\nUnit Decomposability and Strong Group Decomposability\nproperties. This package allows computing and decomposing the\ntotal index value into its \"between\" and \"within\" terms. These\nlast terms can also be decomposed into their contributions,\neither by group or unit characteristics. The factors that\nproduce each \"within\" term can also be displayed at the user's\nrequest. The results can be computed considering a variable or\nsets of variables that define separate clusters.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "URL": "https://github.com/RafaelFuentealbaC/mutualinf",
  "BugReports": "https://github.com/RafaelFuentealbaC/mutualinf/issues",
  "Collate": "'Data_Source.R' 'get_internal_data.R' 'get_contribution.R'\n'M_value.R' 'M.R' 'get_general_contribution.R'\n'get_proportion.R' 'M_within.R' 'M_within_inv.R'\n'RcppExports.R' 'globals.R' 'mutual.R' 'prepare_data.R'",
  "RoxygenNote": "7.3.2",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-28 08:23:41 UTC",
    "User": "root"
  },
  "Author": "Cristian Angulo-Gonzalez [aut, cre], Rafael Fuentealba-Chaura\n[aut], Ricardo Mora [aut], Julio Rojas-Mora [aut],\nFONDECYT/ANID Project 11170583 [fnd],\nMCIN/AEI/10.13039/501100011033 (Project no.\nPID2019-108576RB-I00) [fnd], UCT VIP Project FEQUIP2019-INRN-03\n[fnd]",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-08-24 06:20:02 UTC",
  "RemoteUrl": "https://github.com/cran/mutualinf",
  "RemoteRef": "HEAD",
  "RemoteSha": "d22537e2122f7152a229d88883b4fa7d1991e5ce",
  "MD5sum": "0a1a55a181860ce27e78ea4ae3c5a832",
  "_user": "cran",
  "_type": "src",
  "_file": "mutualinf_2.0.4.tar.gz",
  "_fileid": "7ec8ed02839d5ce349a43e2526dc8378686d41dd0cf34d0be93528fa184b62bd",
  "_filesize": 380621,
  "_sha256": "7ec8ed02839d5ce349a43e2526dc8378686d41dd0cf34d0be93528fa184b62bd",
  "_created": "2026-05-28T08:23:41.000Z",
  "_published": "2026-05-28T08:27:41.160Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78252283118,
      "time": 159,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7261178804"
    },
    {
      "job": 78252283097,
      "time": 149,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7261175059"
    },
    {
      "job": 78252283150,
      "time": 162,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7261179635"
    },
    {
      "job": 78252283093,
      "time": 146,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7261174278"
    },
    {
      "job": 78251773843,
      "time": 194,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7261123916"
    },
    {
      "job": 78252283154,
      "time": 134,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7261170078"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26563371937",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/mutualinf",
  "_commit": {
    "id": "d22537e2122f7152a229d88883b4fa7d1991e5ce",
    "author": "Cristian Angulo-Gonzalez <cristian_world@hotmail.cl>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 2.0.4\n",
    "time": 1756016402
  },
  "_maintainer": {
    "name": "Cristian Angulo-Gonzalez",
    "email": "cristian_world@hotmail.cl"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.13",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "runner",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-34",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "2.0.4",
      "date": "2025-08-24"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "rafaelfuentealba",
      "count": 2,
      "uuid": 22016295
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 559,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mutualinf"
  },
  "_devurl": "https://github.com/rafaelfuentealbac/mutualinf",
  "_searchresults": 7,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/mutualinf.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/rafaelfuentealbac/mutualinf",
  "_realowner": "rafaelfuentealbac",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2021-07-13"
    },
    {
      "version": "1.0.1",
      "date": "2021-07-21"
    },
    {
      "version": "1.1.0",
      "date": "2021-08-16"
    },
    {
      "version": "1.1.1",
      "date": "2021-08-23"
    },
    {
      "version": "1.1.2",
      "date": "2021-10-28"
    },
    {
      "version": "1.1.3",
      "date": "2023-03-27"
    },
    {
      "version": "1.2.2",
      "date": "2024-02-02"
    },
    {
      "version": "2.0.1",
      "date": "2025-01-17"
    },
    {
      "version": "2.0.2",
      "date": "2025-01-18"
    },
    {
      "version": "2.0.3",
      "date": "2025-01-19"
    },
    {
      "version": "2.0.4",
      "date": "2025-08-24"
    }
  ],
  "_exports": [
    "mutual",
    "prepare_data"
  ],
  "_datasets": [
    {
      "name": "DF_Seg_Chile",
      "title": "Segregation data in southern Chile",
      "object": "DF_Seg_Chile",
      "class": [
        "data.frame"
      ],
      "fields": [
        "year",
        "school",
        "district",
        "csep",
        "ethnicity",
        "rural",
        "region",
        "sch_type",
        "gender",
        "grade",
        "nobs"
      ],
      "rows": 191495,
      "table": true,
      "tojson": true
    },
    {
      "name": "DT_Seg_Chile",
      "title": "Segregation data in southern Chile",
      "object": "DT_Seg_Chile",
      "class": [
        "data.table",
        "data.frame",
        "mutual.data"
      ],
      "fields": [
        "year",
        "school",
        "district",
        "csep",
        "ethnicity",
        "rural",
        "region",
        "sch_type",
        "gender",
        "grade",
        "fw"
      ],
      "rows": 55960,
      "table": true,
      "tojson": true
    },
    {
      "name": "DT_test",
      "title": "Segregation data in southern Chile",
      "object": "DT_test",
      "class": [
        "data.table",
        "data.frame",
        "mutual.data"
      ],
      "fields": [
        "school",
        "csep",
        "ethnicity",
        "region",
        "fw"
      ],
      "rows": 6703,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "mutualinf-package",
      "title": "An R package to compute and decompose the Mutual Information Index (M).",
      "topics": [
        "mutualinf-package"
      ]
    },
    {
      "page": "DF_Seg_Chile",
      "title": "Segregation data in southern Chile",
      "topics": [
        "DF_Seg_Chile"
      ]
    },
    {
      "page": "DT_Seg_Chile",
      "title": "Segregation data in southern Chile",
      "topics": [
        "DT_Seg_Chile"
      ]
    },
    {
      "page": "DT_test",
      "title": "Segregation data in southern Chile",
      "topics": [
        "DT_test"
      ]
    },
    {
      "page": "mutual",
      "title": "Computes and decomposes the Mutual Information index",
      "topics": [
        "mutual"
      ]
    },
    {
      "page": "prepare_data",
      "title": "Prepares the data to be used by the 'mutual' function",
      "topics": [
        "prepare_data"
      ]
    }
  ],
  "_readme": "https://github.com/cran/mutualinf/raw/HEAD/README.md",
  "_rundeps": [
    "data.table",
    "Rcpp",
    "RcppArmadillo",
    "runner"
  ],
  "_sysdeps": [
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_score": 1.6989700043360187,
  "_indexed": false,
  "_nocasepkg": "mutualinf",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://rafaelfuentealbac.r-universe.dev/mutualinf",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.4",
      "date": "2026-05-28T08:26:24.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "d22537e2122f7152a229d88883b4fa7d1991e5ce",
      "fileid": "085266223c50e3ff93f78a01c6eb91b36bf82ec19f82468bb63f94df16710c55",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26563371937"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.4",
      "date": "2026-05-28T08:26:16.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "d22537e2122f7152a229d88883b4fa7d1991e5ce",
      "fileid": "eb09f6dac3c84ba7cc912543013635c90d20d380856d65d13d025e167d1d6503",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26563371937"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0.4",
      "date": "2026-05-28T08:26:20.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "d22537e2122f7152a229d88883b4fa7d1991e5ce",
      "fileid": "7e0177b0dc2bc0a7925caec61b71a28c00a2fdc751a55dc05c804546c2ed1449",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26563371937"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0.4",
      "date": "2026-05-28T08:26:14.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "d22537e2122f7152a229d88883b4fa7d1991e5ce",
      "fileid": "7352aaad8751b0a992674f844c4fdf57492a1f5f30843c6412ef75a5e499da04",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26563371937"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.4",
      "date": "2026-05-28T08:26:19.000Z",
      "arch": "emscripten",
      "commit": "d22537e2122f7152a229d88883b4fa7d1991e5ce",
      "fileid": "3be16a12eac0a5e38cfdfac913de3e44e7e63db084466713af2faaa5185e7b93",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26563371937"
    }
  ]
}