{
  "_id": "6a1edc75b401979e7340fcf3",
  "Package": "CoDaImpact",
  "Title": "Interpreting CoDa Regression Models",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(\"Lukas\", \"Dargel\", role = c(\"aut\", \"cre\"),  email = \"lukas.dargel@mailbox.org\", comment = c(ORCID = \"0000-0002-4839-506X\")),\nperson(\"Christine\", \"Thomas-Agnan\", role = c(\"aut\"), email = \"christine.thomas@tse-fr.eu\", comment = c(ORCID = \"0000-0002-6430-3110\")),\nperson(\"Rodrigue\", \"Nasr\", role = \"ctb\"),\nperson(\"Sijia\", \"Pan\", role = \"ctb\"),\nperson(\"Iban\", \"Rendo Barreiro\", role = \"ctb\"),\nperson(\"Shuyao\", \"Li\", role = \"ctb\"))",
  "Description": "Provides methods for interpreting CoDa (Compositional\nData) regression models along the lines of \"Pairwise share\nratio interpretations of compositional regression models\"\n(Dargel and Thomas-Agnan 2024)\n<doi:10.1016/j.csda.2024.107945>. The new methods include\nvariation scenarios, elasticities, elasticity differences and\nshare ratio elasticities. These tools are independent of\nlog-ratio transformations and allow an interpretation in the\noriginal space of shares. 'CoDaImpact' is designed to be used\nwith the 'compositions' package and its ecosystem.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.1",
  "URL": "https://github.com/LukeCe/CoDaImpact,\nhttps://lukece.github.io/CoDaImpact/",
  "BugReports": "https://github.com/LukeCe/CoDaImpact/issues",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Repository": "https://lukece.r-universe.dev",
  "Date/Publication": "2024-03-22 11:20:21 UTC",
  "RemoteUrl": "https://github.com/lukece/codaimpact",
  "RemoteRef": "HEAD",
  "RemoteSha": "087a5122afbf3fe39350d914573e83a71c870d4e",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-20 08:31:16 UTC",
    "User": "root"
  },
  "Author": "Lukas Dargel [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-4839-506X>),\nChristine Thomas-Agnan [aut] (ORCID:\n<https://orcid.org/0000-0002-6430-3110>),\nRodrigue Nasr [ctb],\nSijia Pan [ctb],\nIban Rendo Barreiro [ctb],\nShuyao Li [ctb]",
  "Maintainer": "Lukas Dargel <lukas.dargel@mailbox.org>",
  "MD5sum": "e3bae7d76adeea062cfe125706a4cfaa",
  "_user": "lukece",
  "_type": "src",
  "_file": "CoDaImpact_0.1.0.tar.gz",
  "_fileid": "cf9eee5986ca624611598053a6a27c96d4335e6c5a9e897565118d768938e4f4",
  "_filesize": 1517790,
  "_sha256": "cf9eee5986ca624611598053a6a27c96d4335e6c5a9e897565118d768938e4f4",
  "_created": "2026-05-20T08:31:16.000Z",
  "_published": "2026-06-02T13:36:53.390Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79083528905,
      "time": 122,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7105084923"
    },
    {
      "job": 79083529113,
      "time": 119,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7105083731"
    },
    {
      "job": 79083529125,
      "time": 164,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7105089065"
    },
    {
      "job": 79083528808,
      "time": 153,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7105086815"
    },
    {
      "job": 79083528445,
      "time": 201,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7105041488"
    },
    {
      "job": 79083527912,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7359244710"
    },
    {
      "job": 79083529102,
      "time": 95,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7105075636"
    },
    {
      "job": 79083529442,
      "time": 129,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7105087385"
    },
    {
      "job": 79083528583,
      "time": 93,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7105075005"
    }
  ],
  "_buildurl": "https://github.com/r-universe/lukece/actions/runs/26150819508",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/lukece/codaimpact",
  "_commit": {
    "id": "087a5122afbf3fe39350d914573e83a71c870d4e",
    "author": "LukeCe <LukeCe@mailbox.org>",
    "committer": "LukeCe <LukeCe@mailbox.org>",
    "message": "Address comments from CRAN and update references\n",
    "time": 1711106421
  },
  "_maintainer": {
    "name": "Lukas Dargel",
    "email": "lukas.dargel@mailbox.org",
    "orcid": "0000-0002-4839-506X"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "compositions",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "sf",
      "role": "Suggests"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    }
  ],
  "_owner": "lukece",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "lukece",
      "count": 60,
      "uuid": 38818264
    },
    {
      "user": "christine-thomas",
      "count": 1,
      "uuid": 68107563
    }
  ],
  "_userbio": {
    "uuid": 38818264,
    "type": "user",
    "name": "LukeCe"
  },
  "_downloads": {
    "count": 193,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/CoDaImpact"
  },
  "_devurl": "https://github.com/lukece/codaimpact",
  "_pkgdown": "https://lukece.github.io/CoDaImpact/",
  "_searchresults": 1,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/CoDaImpact.html",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/lukece/codaimpact",
  "_realowner": "lukece",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2024-03-23"
    }
  ],
  "_exports": [
    "alr",
    "alrInv",
    "clr",
    "clrInv",
    "CoDa_path",
    "CoDa_seq",
    "ilr",
    "ilrInv",
    "Impacts",
    "lmCoDa",
    "ShareRatioElasticities",
    "ToSimplex",
    "VariationScenario",
    "VariationTable"
  ],
  "_datasets": [
    {
      "name": "car_market",
      "title": "French car market data",
      "object": "car_market",
      "class": [
        "data.frame"
      ],
      "fields": [
        "DATE",
        "SEG_A",
        "SEG_B",
        "SEG_C",
        "SEG_D",
        "SEG_E",
        "GDP",
        "HOUSEHOLD_EXPENDITURE",
        "GAS_PRICE",
        "SCRAPPING_SUBSIDY"
      ],
      "rows": 152,
      "table": true,
      "tojson": true
    },
    {
      "name": "election",
      "title": "Results of french departmental elections in 2015",
      "object": "election",
      "class": [
        "data.frame"
      ],
      "fields": [
        "left",
        "right",
        "extreme_right",
        "Age_1839",
        "Age_4064",
        "Age_65plus",
        "Educ_BeforeHighschool",
        "Educ_Highschool",
        "Educ_Higher",
        "unemp_rate",
        "asset_owner_rate",
        "income_taxpayer_rate",
        "forgeigner_rate"
      ],
      "rows": 95,
      "table": true,
      "tojson": true
    },
    {
      "name": "rice_yields",
      "title": "Data on the rice yields in the Vietnamese provinces",
      "object": "rice_yields",
      "class": [
        "data.frame"
      ],
      "fields": [
        "PROVINCE",
        "REGION",
        "YEAR",
        "YIELD",
        "PRECIPITATION",
        "TEMPERATURES"
      ],
      "rows": 1890,
      "table": false,
      "tojson": true
    },
    {
      "name": "toulouse_retail",
      "title": "Simulated retail data for nine shopping malls in the city of Toulouse",
      "object": "toulouse_retail",
      "class": [
        "sf",
        "data.table",
        "data.frame"
      ],
      "fields": [
        "ID_IRIS",
        "POP",
        "MEDIAN_INCOME",
        "geometry",
        "dist_km",
        "visits"
      ],
      "rows": 428,
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "car_market",
      "title": "French car market data",
      "topics": [
        "car_market"
      ]
    },
    {
      "page": "CoDa_path",
      "title": "Create a linear path in the simplex by defining a direction and a step size",
      "topics": [
        "CoDa_path"
      ]
    },
    {
      "page": "CoDa_seq",
      "title": "A sequence connecting two points in a simplex",
      "topics": [
        "CoDa_seq"
      ]
    },
    {
      "page": "coef.lmCoDa",
      "title": "Predictions, fitted values, residuals, and coefficients in CoDa models",
      "topics": [
        "coef.lmCoDa"
      ]
    },
    {
      "page": "confint.lmCoDa",
      "title": "Confidence Intervals for CoDa Models",
      "topics": [
        "confint.lmCoDa"
      ]
    },
    {
      "page": "election",
      "title": "Results of french departmental elections in 2015",
      "topics": [
        "election"
      ]
    },
    {
      "page": "fitted.lmCoDa",
      "title": "Predictions, fitted values, residuals, and coefficients in CoDa models",
      "topics": [
        "fitted.lmCoDa"
      ]
    },
    {
      "page": "Impacts",
      "title": "Computation of elasticities in CoDa regression models",
      "topics": [
        "Impacts"
      ]
    },
    {
      "page": "lmCoDa",
      "title": "Estimating CoDa regression models",
      "topics": [
        "lmCoDa"
      ]
    },
    {
      "page": "predict.lmCoDa",
      "title": "Predictions, fitted values, residuals, and coefficients in CoDa models",
      "topics": [
        "predict.lmCoDa"
      ]
    },
    {
      "page": "residuals.lmCoDa",
      "title": "Predictions, fitted values, residuals, and coefficients in CoDa models",
      "topics": [
        "residuals.lmCoDa"
      ]
    },
    {
      "page": "rice_yields",
      "title": "Data on the rice yields in the Vietnamese provinces",
      "topics": [
        "rice_yields"
      ]
    },
    {
      "page": "ShareRatioElasticities",
      "title": "Compute share ratio elasticities for CoDa models",
      "topics": [
        "ShareRatioElasticities"
      ]
    },
    {
      "page": "ToSimplex",
      "title": "Converting Linear Models to CoDa models",
      "topics": [
        "ToSimplex"
      ]
    },
    {
      "page": "toulouse_retail",
      "title": "Simulated retail data for nine shopping malls in the city of Toulouse",
      "topics": [
        "toulouse_retail"
      ]
    },
    {
      "page": "VariationScenario",
      "title": "Scenarios for variation in CoDa regressions models",
      "topics": [
        "VariationScenario"
      ]
    },
    {
      "page": "VariationTable",
      "title": "Effects of infinitesimal changes in CoDa models",
      "topics": [
        "VariationTable"
      ]
    }
  ],
  "_readme": "https://github.com/lukece/codaimpact/raw/HEAD/README.md",
  "_rundeps": [
    "bayesm",
    "compositions",
    "DEoptimR",
    "MASS",
    "Rcpp",
    "RcppArmadillo",
    "robustbase",
    "tensorA"
  ],
  "_vignettes": [
    {
      "source": "paper_Share_Ratio.Rmd",
      "filename": "paper_Share_Ratio.html",
      "title": "“Pairwise share-ratio interpretations of compositional regression models”",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2023-08-30 09:36:43",
      "modified": "2024-03-08 07:56:51",
      "commits": 2
    },
    {
      "source": "Vignette.Rmd",
      "filename": "Vignette.html",
      "title": "Getting started with CoDaImpact",
      "author": "Christine Thomas-Agnan, Lukas Dargel, Rodrigue Nasr",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Scalar on composition regression",
        "Rice yield data",
        "Regression step with the compositions package",
        "coef",
        "fitted",
        "residuals",
        "Interpretation tools",
        "Finite increments interpretation",
        "Interpretation with ilr coordinates",
        "Interpretation with clr coordinates",
        "Variation scenario in the simplex space",
        "Infinitesimal increments interpretation",
        "Semi-elasticities",
        "Increments approach",
        "Infinitesimal increment: direction pointing to a vertex",
        "Infinitesimal increment: general direction",
        "Composition on scalar regression",
        "Car market data",
        "Regression step",
        "resid",
        "Variation scenario in real space",
        "Infinitesimal Increments approach",
        "Composition on composition regression",
        "Election data",
        "Finite increments",
        "VariationScenario",
        "Infinitesimal increments",
        "Elasticities",
        "Infinitesimal increment: General direction",
        "References"
      ],
      "created": "2024-01-21 20:01:13",
      "modified": "2024-03-22 11:20:21",
      "commits": 8
    }
  ],
  "_score": 4,
  "_indexed": true,
  "_nocasepkg": "codaimpact",
  "_universes": [
    "lukece"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-20T08:33:22.000Z",
      "distro": "noble",
      "commit": "087a5122afbf3fe39350d914573e83a71c870d4e",
      "fileid": "a1175b137d66fcf28995760ae2319be3d2384bbc86aeb56cebc84a1a8fc76aa8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukece/actions/runs/26150819508"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-20T08:33:20.000Z",
      "distro": "noble",
      "commit": "087a5122afbf3fe39350d914573e83a71c870d4e",
      "fileid": "14f6e66e5b8ffbadc13d69588642451e5d43df431a8a6115564ca5fe430a21a6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukece/actions/runs/26150819508"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-20T08:33:41.000Z",
      "commit": "087a5122afbf3fe39350d914573e83a71c870d4e",
      "fileid": "e73b87e8e1f0718820727eee385639584e573103f2d7ccb1e3255b6af4859cf8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukece/actions/runs/26150819508"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-20T08:33:30.000Z",
      "commit": "087a5122afbf3fe39350d914573e83a71c870d4e",
      "fileid": "014642436cbd5cc320514559ba14a6995b1d5610b88209a41b7b566bbbb9123a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukece/actions/runs/26150819508"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-20T08:32:45.000Z",
      "commit": "087a5122afbf3fe39350d914573e83a71c870d4e",
      "fileid": "e44dd2b589582950aae746f4e84fba0c0192021f33ae92991936baa6a20a4e2d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukece/actions/runs/26150819508"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-20T08:33:25.000Z",
      "commit": "087a5122afbf3fe39350d914573e83a71c870d4e",
      "fileid": "141913ed0b8bc837d5d8310d97584684bf3cd2d16da2202a87bb885368d67311",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukece/actions/runs/26150819508"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-20T08:32:44.000Z",
      "commit": "087a5122afbf3fe39350d914573e83a71c870d4e",
      "fileid": "f9a6dfc0ee7e90776c70813d7578147f1255c1b5a300fd9902ce944790e47cb3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lukece/actions/runs/26150819508"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-06-02T13:36:31.000Z",
      "commit": "087a5122afbf3fe39350d914573e83a71c870d4e",
      "fileid": "7035ab1eddcec0d49f8dec6065d482df86de900d7c07018e49b5ac0ee5c28096",
      "status": "success",
      "buildurl": "https://github.com/r-universe/lukece/actions/runs/26150819508"
    }
  ]
}