{
  "_id": "6a1f2eceb401979e73426b94",
  "Package": "codaredistlm",
  "Type": "Package",
  "Title": "Compositional Data Linear Models with Composition Redistribution",
  "Version": "0.1.0",
  "Date": "2022-12-22",
  "Authors@R": "c(\nperson(\"Ty\", \"Stanford\", email = \"tystan@gmail.com\", role = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0002-8570-5493\")),\nperson(\"Charlotte\", \"Lund Rasmussen\", email = \"chinehade@gmail.com\", role = \"aut\", comment = c(ORCID = \"0000-0003-2193-5019\")),\nperson(\"Dot\", \"Dumuid\", email = \"dot.dumuid@unisa.edu.au\", role = \"aut\", comment = c(ORCID = \"0000-0003-3057-0963\")))",
  "Description": "Provided data containing an outcome variable,\ncompositional variables and additional covariates (optional);\nlinearly regress the outcome variable on an isometric log ratio\n(ilr) transformation of the linearly dependent compositional\nvariables. The package provides predictions (with confidence\nintervals) in the change (delta) in the outcome/response\nvariable based on the multiple linear regression model and\nevenly spaced reallocations of the compositional values. The\ncompositional data analysis approach implemented is outlined in\nDumuid et al. (2017a) <doi:10.1177/0962280217710835> and Dumuid\net al. (2017b) <doi:10.1177/0962280217737805>.",
  "License": "GPL-2",
  "URL": "https://github.com/tystan/codaredistlm",
  "BugReports": "https://github.com/tystan/codaredistlm/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.1.2",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://tystan.r-universe.dev",
  "Date/Publication": "2023-01-25 06:26:11 UTC",
  "RemoteUrl": "https://github.com/tystan/codaredistlm",
  "RemoteRef": "HEAD",
  "RemoteSha": "58879e1e129456e0ee93d169f71313436aecc19d",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-15 09:19:46 UTC",
    "User": "root"
  },
  "Author": "Ty Stanford [aut, cre] (ORCID: <https://orcid.org/0000-0002-8570-5493>),\nCharlotte Lund Rasmussen [aut] (ORCID:\n<https://orcid.org/0000-0003-2193-5019>),\nDot Dumuid [aut] (ORCID: <https://orcid.org/0000-0003-3057-0963>)",
  "Maintainer": "Ty Stanford <tystan@gmail.com>",
  "MD5sum": "ca6054f9c1eff0062c86c595f4ae44ec",
  "_user": "tystan",
  "_type": "src",
  "_file": "codaredistlm_0.1.0.tar.gz",
  "_fileid": "795647e1b1f3ef484a4a33692076a09aee28c81d022c2553fbe1cecc16afa261",
  "_filesize": 256971,
  "_sha256": "795647e1b1f3ef484a4a33692076a09aee28c81d022c2553fbe1cecc16afa261",
  "_created": "2026-05-15T09:19:46.000Z",
  "_published": "2026-06-02T19:28:14.079Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79154504006,
      "time": 144,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7013948883"
    },
    {
      "job": 79154504720,
      "time": 161,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7013953686"
    },
    {
      "job": 79154504666,
      "time": 163,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7013947317"
    },
    {
      "job": 79154504368,
      "time": 177,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7013949148"
    },
    {
      "job": 79154504085,
      "time": 231,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7013906449"
    },
    {
      "job": 79154503463,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7367751827"
    },
    {
      "job": 79154504217,
      "time": 124,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7013943415"
    },
    {
      "job": 79154504444,
      "time": 91,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7013933718"
    },
    {
      "job": 79154504162,
      "time": 316,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7014000060"
    }
  ],
  "_buildurl": "https://github.com/r-universe/tystan/actions/runs/25910081660",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/tystan/codaredistlm",
  "_commit": {
    "id": "58879e1e129456e0ee93d169f71313436aecc19d",
    "author": "Ty Stanford <tystan@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Comp mean discussion edit",
    "time": 1674627971
  },
  "_maintainer": {
    "name": "Ty Stanford",
    "email": "tystan@gmail.com",
    "login": "tystan",
    "uuid": 12855431,
    "orcid": "0000-0002-8570-5493"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "compositions",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "broom",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "tystan",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "coda",
    "compositional-data-analysis",
    "isometric-log-ratio",
    "multiple-linear-regression",
    "plotting",
    "prediction"
  ],
  "_stars": 10,
  "_contributors": [
    {
      "user": "tystan",
      "count": 7,
      "uuid": 12855431
    },
    {
      "user": "drlundrasmussen",
      "count": 1,
      "uuid": 45944449
    }
  ],
  "_userbio": {
    "uuid": 12855431,
    "type": "user",
    "name": "Ty Stanford",
    "description": "(Bio)statistician"
  },
  "_downloads": {
    "count": 226,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/codaredistlm"
  },
  "_devurl": "https://github.com/tystan/codaredistlm",
  "_searchresults": 9,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/codaredistlm.html",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/tystan/codaredistlm",
  "_realowner": "tystan",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2022-12-22"
    }
  ],
  "_exports": [
    "plot_delta_comp",
    "predict_delta_comps"
  ],
  "_datasets": [
    {
      "name": "fairclough",
      "title": "Data from Fairclough (2017). Fitness, fatness and the reallocation of time between children's daily movement behaviours: an analysis of compositional data",
      "object": "fairclough",
      "class": [
        "data.frame"
      ],
      "fields": [
        "child_id",
        "school",
        "sex",
        "decimal_age",
        "imd_decile",
        "height",
        "mass",
        "bmi",
        "z_bmi",
        "itof_grade",
        "waist_circ",
        "whtr",
        "shuttles_20m",
        "wear_time",
        "sed",
        "lpa",
        "mpa",
        "vpa",
        "mvpa",
        "sleep",
        "min_in_day"
      ],
      "rows": 169,
      "table": true,
      "tojson": true
    },
    {
      "name": "fat_data",
      "title": "Randomly generated data to simulate child fat percentage regressed on time-use compositional data",
      "object": "fat_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "fat",
        "sl",
        "sb",
        "lpa",
        "mvpa",
        "sibs",
        "parents",
        "ed"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "append_ilr_coords",
      "title": "Add ILR coordinates to a data.frame containing composition variables",
      "topics": [
        "append_ilr_coords"
      ]
    },
    {
      "page": "check_input_args",
      "title": "Sanity checks for arguments passed to predict_delta_comps()",
      "topics": [
        "check_input_args"
      ]
    },
    {
      "page": "check_strictly_positive_vals",
      "title": "Check if compositional variable are strictly greater than 0",
      "topics": [
        "check_strictly_positive_vals"
      ]
    },
    {
      "page": "cols_exist",
      "title": "Check whether columns exist in a data.frame",
      "topics": [
        "cols_exist"
      ]
    },
    {
      "page": "compare_two_lm",
      "title": "Statistical test of the collective significance of the ilr variables",
      "topics": [
        "compare_two_lm"
      ]
    },
    {
      "page": "create_comparison_matrix",
      "title": "Creates row-wise perturbations of compositions from the mean composition",
      "topics": [
        "create_comparison_matrix"
      ]
    },
    {
      "page": "create_v_mat",
      "title": "Create ilr basis matrix (V)",
      "topics": [
        "create_v_mat"
      ]
    },
    {
      "page": "extract_lm_quantities",
      "title": "Extract critical quantities from a lm object (for confidence interval calculations)",
      "topics": [
        "extract_lm_quantities"
      ]
    },
    {
      "page": "fairclough",
      "title": "Data from Fairclough (2017). Fitness, fatness and the reallocation of time between children's daily movement behaviours: an analysis of compositional data",
      "topics": [
        "fairclough"
      ]
    },
    {
      "page": "fat_data",
      "title": "Randomly generated data to simulate child fat percentage regressed on time-use compositional data",
      "topics": [
        "fat_data"
      ]
    },
    {
      "page": "fit_lm",
      "title": "fit linear model based on input data.frame",
      "topics": [
        "fit_lm"
      ]
    },
    {
      "page": "is_deltacomp_obj",
      "title": "Is object that is returned from 'pred_delta_comps()'?",
      "topics": [
        "is_deltacomp_obj"
      ]
    },
    {
      "page": "is_lm_mod",
      "title": "Is object that is returned from 'lm()'?",
      "topics": [
        "is_lm_mod"
      ]
    },
    {
      "page": "is_null_or_na",
      "title": "Catch NULL, empty and objects containing NAs",
      "topics": [
        "is_null_or_na"
      ]
    },
    {
      "page": "plot_delta_comp",
      "title": "Plot redistributed time-use predictions from compositional ilr multiple linear regression model fit",
      "topics": [
        "plot_delta_comp"
      ]
    },
    {
      "page": "predict_delta_comps",
      "title": "Get predictions from compositional ilr multiple linear regression model",
      "topics": [
        "predict_delta_comps"
      ]
    },
    {
      "page": "print_ilr_trans",
      "title": "Print the ilr transformation of provided composition parts to console",
      "topics": [
        "print_ilr_trans"
      ]
    }
  ],
  "_readme": "https://github.com/tystan/codaredistlm/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "bayesm",
    "broom",
    "cli",
    "compositions",
    "cpp11",
    "DEoptimR",
    "dplyr",
    "evaluate",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "highr",
    "isoband",
    "knitr",
    "labeling",
    "lifecycle",
    "magrittr",
    "MASS",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "robustbase",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tensorA",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml"
  ],
  "_score": 3.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "codaredistlm",
  "_universes": [
    "tystan"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-15T09:21:56.000Z",
      "distro": "noble",
      "commit": "58879e1e129456e0ee93d169f71313436aecc19d",
      "fileid": "231e3dd2210519e734a95bfaad6423ed36aeb7c4e4061fbfb0d13340cdc02a0d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tystan/actions/runs/25910081660"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-15T09:22:14.000Z",
      "distro": "noble",
      "commit": "58879e1e129456e0ee93d169f71313436aecc19d",
      "fileid": "2adfe87a6239dd7a6b9e180e48e91595b858ae25725d9c8d77247321a09152bf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tystan/actions/runs/25910081660"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-15T09:22:04.000Z",
      "commit": "58879e1e129456e0ee93d169f71313436aecc19d",
      "fileid": "8c1ffa964ad1e7a1ca7a38f7f53c93a0404749fb01f1f6f4f46dd324921da5c9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tystan/actions/runs/25910081660"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-15T09:22:01.000Z",
      "commit": "58879e1e129456e0ee93d169f71313436aecc19d",
      "fileid": "a4795141688dc07947ecdc92bf6afb59d722377faccbc1c518be7a263999eeee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tystan/actions/runs/25910081660"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-15T09:21:32.000Z",
      "commit": "58879e1e129456e0ee93d169f71313436aecc19d",
      "fileid": "7c7fd252e6a9ac959b1d465701ee4e31fe9f3871f541f0ee5d85235d56c89aa8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tystan/actions/runs/25910081660"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-15T09:21:00.000Z",
      "commit": "58879e1e129456e0ee93d169f71313436aecc19d",
      "fileid": "c143596415eae2e8fcfea5135e647749d17b0f25bea44668bebc79a5d20c34b5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tystan/actions/runs/25910081660"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-15T09:24:50.000Z",
      "commit": "58879e1e129456e0ee93d169f71313436aecc19d",
      "fileid": "301a576eb0dca73b3690bf3b1b8b1db613d6308588abc5494b99b0f3cca919e0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tystan/actions/runs/25910081660"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-06-02T19:27:56.000Z",
      "commit": "58879e1e129456e0ee93d169f71313436aecc19d",
      "fileid": "bb4c71b63ac33899a28a44625a4b295caf03162a8e06496ad8f4a4e14e6f2dac",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tystan/actions/runs/25910081660"
    }
  ]
}