{
  "_id": "6a23f38ba1338011a79ee0e7",
  "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",
  "Repository": "https://rafaelfuentealbac.r-universe.dev",
  "Date/Publication": "2025-08-07 13:52:31 UTC",
  "RemoteUrl": "https://github.com/rafaelfuentealbac/mutualinf",
  "RemoteRef": "HEAD",
  "RemoteSha": "85993ac14f9e46455868d0eccbdf0fa616738fc5",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-06 10:10:57 UTC",
    "User": "root"
  },
  "Author": "Cristian Angulo-Gonzalez [aut, cre],\nRafael Fuentealba-Chaura [aut],\nRicardo Mora [aut],\nJulio Rojas-Mora [aut],\nFONDECYT/ANID Project 11170583 [fnd],\nMCIN/AEI/10.13039/501100011033 (Project no. PID2019-108576RB-I00) [fnd],\nUCT VIP Project FEQUIP2019-INRN-03 [fnd]",
  "MD5sum": "12c77bad5cb312e5fe558ada6c054509",
  "_user": "rafaelfuentealbac",
  "_type": "src",
  "_file": "mutualinf_2.0.4.tar.gz",
  "_fileid": "cd0654cff6f828ab5190d099ee89c861dbbbf8c5ddad67e1a79d3dda0dfc575d",
  "_filesize": 379449,
  "_sha256": "cd0654cff6f828ab5190d099ee89c861dbbbf8c5ddad67e1a79d3dda0dfc575d",
  "_created": "2026-06-06T10:10:57.000Z",
  "_published": "2026-06-06T10:16:43.702Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79869838955,
      "time": 199,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7453543554"
    },
    {
      "job": 79869838965,
      "time": 139,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7453537121"
    },
    {
      "job": 79869838959,
      "time": 147,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7453538249"
    },
    {
      "job": 79869838968,
      "time": 145,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7453537482"
    },
    {
      "job": 79869838971,
      "time": 130,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7453536007"
    },
    {
      "job": 79869838974,
      "time": 276,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7453551395"
    },
    {
      "job": 79869838960,
      "time": 116,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7453534760"
    },
    {
      "job": 79869838956,
      "time": 233,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7453546918"
    },
    {
      "job": 79869680982,
      "time": 183,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7453523052"
    },
    {
      "job": 79869838945,
      "time": 140,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7453537053"
    },
    {
      "job": 79869838953,
      "time": 154,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7453538329"
    },
    {
      "job": 79869838952,
      "time": 146,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7453537569"
    },
    {
      "job": 79869838950,
      "time": 147,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7453537777"
    }
  ],
  "_buildurl": "https://github.com/r-universe/rafaelfuentealbac/actions/runs/27059447097",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/rafaelfuentealbac/mutualinf",
  "_commit": {
    "id": "85993ac14f9e46455868d0eccbdf0fa616738fc5",
    "author": "Xcristian007X <74797095+Xcristian007X@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #13 from RafaelFuentealbaC/update-develop\n\nMinor syntax and variable fixes",
    "time": 1754574751
  },
  "_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": "rafaelfuentealbac",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-31",
      "n": 1
    },
    {
      "week": "2025-32",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v2.0.4",
      "date": "2025-08-07"
    }
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "rafaelfuentealbac",
      "count": 49,
      "uuid": 22017902
    },
    {
      "user": "jcredberry",
      "count": 25,
      "uuid": 4563869
    },
    {
      "user": "xcristian007x",
      "count": 23,
      "uuid": 74797095
    },
    {
      "user": "rafaelfuentealba",
      "count": 4,
      "uuid": 22016295
    },
    {
      "user": "eddelbuettel",
      "count": 1,
      "uuid": 673121
    }
  ],
  "_userbio": {
    "uuid": 22017902,
    "type": "user",
    "name": "RafaelFuentealbaC"
  },
  "_downloads": {
    "count": 552,
    "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": true,
  "_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/rafaelfuentealbac/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": 4.079181246047625,
  "_indexed": true,
  "_nocasepkg": "mutualinf",
  "_universes": [
    "rafaelfuentealbac"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.4",
      "date": "2026-06-06T10:14:18.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "85993ac14f9e46455868d0eccbdf0fa616738fc5",
      "fileid": "842152163d12538e8636437e35c691ed20e668848dd37b6c4ea9ab7777e868d9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rafaelfuentealbac/actions/runs/27059447097"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.4",
      "date": "2026-06-06T10:13:22.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "85993ac14f9e46455868d0eccbdf0fa616738fc5",
      "fileid": "abf2fe64ad2cee33697724be566b589a16b70790e5b3b99829af3d26bbf25b29",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rafaelfuentealbac/actions/runs/27059447097"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0.4",
      "date": "2026-06-06T10:13:27.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "85993ac14f9e46455868d0eccbdf0fa616738fc5",
      "fileid": "697596cc344217f72ca46ead9236cbf316dfff11245f00d37de8f0643a02d567",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rafaelfuentealbac/actions/runs/27059447097"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0.4",
      "date": "2026-06-06T10:13:24.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "85993ac14f9e46455868d0eccbdf0fa616738fc5",
      "fileid": "3d473b8159bca111d682e2f2b630bc2e250e63cc7aeba1ac388de08cb81ad6bb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rafaelfuentealbac/actions/runs/27059447097"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.4",
      "date": "2026-06-06T10:13:20.000Z",
      "arch": "aarch64",
      "commit": "85993ac14f9e46455868d0eccbdf0fa616738fc5",
      "fileid": "e6c64c00b3e2c16aa9410857d3f908ab059594710e6ba64ce989d34224172e7c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rafaelfuentealbac/actions/runs/27059447097"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.4",
      "date": "2026-06-06T10:15:01.000Z",
      "arch": "x86_64",
      "commit": "85993ac14f9e46455868d0eccbdf0fa616738fc5",
      "fileid": "342bddd65693aee8bc614c75bbdaa1b37a4b69874261a6afcbaacdc59c80be24",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rafaelfuentealbac/actions/runs/27059447097"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.0.4",
      "date": "2026-06-06T10:13:12.000Z",
      "arch": "aarch64",
      "commit": "85993ac14f9e46455868d0eccbdf0fa616738fc5",
      "fileid": "2d5bc9fbdf6f1d62a7ada59b5bfea060cc7ce8765a531a421608db4add73aaf7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rafaelfuentealbac/actions/runs/27059447097"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.0.4",
      "date": "2026-06-06T10:14:29.000Z",
      "arch": "x86_64",
      "commit": "85993ac14f9e46455868d0eccbdf0fa616738fc5",
      "fileid": "aa542308934c3345eacf51298820746c82e9d880febebb4ef43d37b5a1d8a533",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rafaelfuentealbac/actions/runs/27059447097"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.4",
      "date": "2026-06-06T10:13:28.000Z",
      "arch": "emscripten",
      "commit": "85993ac14f9e46455868d0eccbdf0fa616738fc5",
      "fileid": "cbc4fab04c89da54c32db2baf794f9018a26fa53bf9eaa60dd0e1d6dccc9d5a2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rafaelfuentealbac/actions/runs/27059447097"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.4",
      "date": "2026-06-06T10:12:56.000Z",
      "arch": "x86_64",
      "commit": "85993ac14f9e46455868d0eccbdf0fa616738fc5",
      "fileid": "6f8778b51f1406d71ba0ce97dd1510220eda9efe3f51814870ca75b0b7f87524",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rafaelfuentealbac/actions/runs/27059447097"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.4",
      "date": "2026-06-06T10:12:42.000Z",
      "arch": "x86_64",
      "commit": "85993ac14f9e46455868d0eccbdf0fa616738fc5",
      "fileid": "312102b8e6e1db44615e8ab51bb34f604b0646cb405f123c730f5c5a28c86aad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rafaelfuentealbac/actions/runs/27059447097"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.0.4",
      "date": "2026-06-06T10:12:40.000Z",
      "arch": "x86_64",
      "commit": "85993ac14f9e46455868d0eccbdf0fa616738fc5",
      "fileid": "71ca5a80e154634a0d666a7ff5cd025d02200b0b518fd0bb565df7836276d3e7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rafaelfuentealbac/actions/runs/27059447097"
    }
  ]
}