{
  "_id": "6a1ed329b401979e7340dfb8",
  "Package": "RefBasedMI",
  "Title": "Reference-Based Imputation for Longitudinal Clinical Trials with\nProtocol Deviation",
  "Version": "0.2.0",
  "Authors@R": "c(person(given = \"Kevin\",\nfamily = \"McGrath\",\nrole = \"aut\",\nemail = \"kkevinmcgrath@yahoo.co.uk\"),\nperson(given = \"Matteo\",\nfamily = \"Quartagno\",\nrole = \"cre\",\nemail = \"m.quartagno@ucl.ac.uk\"))",
  "Description": "Imputation of missing numerical outcomes for a\nlongitudinal trial with protocol deviations. The package uses\ndistinct treatment arm-based assumptions for the unobserved\ndata, following the general algorithm of Carpenter, Roger, and\nKenward (2013) <doi:10.1080/10543406.2013.834911>, and the\ncausal model of White, Royes and Best (2020)\n<doi:10.1080/10543406.2019.1684308>. Sensitivity analyses to\ndepartures from these assumptions can be done by the Delta\nmethod of Roger. The program uses the same algorithm as the\n'mimix' 'Stata' package written by Suzie Cro, with additional\ncoding for the causal model and delta method. The\nreference-based methods are jump to reference (J2R), copy\nincrements in reference (CIR), copy reference (CR), and the\ncausal model, all of which must specify the reference treatment\narm. Other methods are missing at random (MAR) and the last\nmean carried forward (LMCF). Individual-specific imputation\nmethods (and their reference groups) can be specified.",
  "URL": "https://github.com/UCL/RefBasedMI",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "NeedsCompilation": "yes",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.3",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev libx11-dev\nzlib1g-dev",
  "Repository": "https://ucl.r-universe.dev",
  "Date/Publication": "2024-09-04 12:31:31 UTC",
  "RemoteUrl": "https://github.com/ucl/refbasedmi",
  "RemoteRef": "HEAD",
  "RemoteSha": "316380971c5218ede52121719776eec223129d55",
  "Packaged": {
    "Date": "2026-05-21 10:20:38 UTC",
    "User": "root"
  },
  "Author": "Kevin McGrath [aut],\nMatteo Quartagno [cre]",
  "Maintainer": "Matteo Quartagno <m.quartagno@ucl.ac.uk>",
  "MD5sum": "6eeb43a0681fe0aca9a4b66045626406",
  "_user": "ucl",
  "_type": "src",
  "_file": "RefBasedMI_0.2.0.tar.gz",
  "_fileid": "6074916d8b38b3ff931d808418c6e67f2b198f9e18519089da8d300c640f9e6b",
  "_filesize": 845553,
  "_sha256": "6074916d8b38b3ff931d808418c6e67f2b198f9e18519089da8d300c640f9e6b",
  "_created": "2026-05-21T10:20:38.000Z",
  "_published": "2026-06-02T12:57:13.943Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79075439511,
      "time": 192,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7133265835"
    },
    {
      "job": 79075439602,
      "time": 219,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7133274818"
    },
    {
      "job": 79075439371,
      "time": 159,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7133254963"
    },
    {
      "job": 79075439528,
      "time": 180,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7133262141"
    },
    {
      "job": 79075439879,
      "time": 107,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7133243691"
    },
    {
      "job": 79075439326,
      "time": 215,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7133277521"
    },
    {
      "job": 79075439608,
      "time": 218,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7133282882"
    },
    {
      "job": 79075439398,
      "time": 283,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7133305759"
    },
    {
      "job": 79075438516,
      "time": 226,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7133198559"
    },
    {
      "job": 79075438506,
      "time": 140,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7358265699"
    },
    {
      "job": 79075439342,
      "time": 153,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7133253317"
    },
    {
      "job": 79075439476,
      "time": 142,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7133249470"
    },
    {
      "job": 79075439507,
      "time": 144,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7133250503"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ucl/actions/runs/26219924266",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ucl/refbasedmi",
  "_commit": {
    "id": "316380971c5218ede52121719776eec223129d55",
    "author": "Matteo21Q <40173554+Matteo21Q@users.noreply.github.com>",
    "committer": "Matteo21Q <40173554+Matteo21Q@users.noreply.github.com>",
    "message": "Copyright fix\n\nAdding copyright for norm2\n",
    "time": 1725453091
  },
  "_maintainer": {
    "name": "Matteo Quartagno",
    "email": "m.quartagno@ucl.ac.uk",
    "login": "matteo21q",
    "description": "",
    "uuid": 40173554
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "Hmisc",
      "role": "Imports"
    },
    {
      "package": "mice",
      "role": "Imports"
    },
    {
      "package": "pastecs",
      "role": "Imports"
    },
    {
      "package": "assertthat",
      "role": "Imports"
    }
  ],
  "_owner": "ucl",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [],
  "_tags": [],
  "_stars": 5,
  "_contributors": [
    {
      "user": "kmcgrathucl",
      "count": 411,
      "uuid": 45361270
    },
    {
      "user": "ianrwhite",
      "count": 90,
      "uuid": 35139755
    },
    {
      "user": "mirabalis",
      "count": 61,
      "uuid": 4583351
    },
    {
      "user": "matteo21q",
      "count": 23,
      "uuid": 40173554
    }
  ],
  "_userbio": {
    "uuid": 2951150,
    "type": "organization",
    "name": "University College London",
    "description": "To join the organisation contact UCL's Advanced Research Computing Centre via MyServices"
  },
  "_downloads": {
    "count": 254,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RefBasedMI"
  },
  "_devurl": "https://github.com/ucl/refbasedmi",
  "_searchresults": 4,
  "_topics": [
    "fortran"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/RefBasedMI.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ucl/refbasedmi",
  "_realowner": "ucl",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2023-04-27"
    },
    {
      "version": "0.1.1",
      "date": "2023-08-21"
    },
    {
      "version": "0.2.0",
      "date": "2024-09-09"
    }
  ],
  "_exports": [
    "RefBasedMI"
  ],
  "_datasets": [
    {
      "name": "acupuncture",
      "title": "Sample data: acupuncture trial",
      "object": "acupuncture",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "time",
        "age",
        "sex",
        "migraine",
        "chronicity",
        "practice_id",
        "treat",
        "head_base",
        "head",
        "withdrawal_reason"
      ],
      "rows": 802,
      "table": true,
      "tojson": true
    },
    {
      "name": "antidepressant",
      "title": "Sample data: antidepressant trial",
      "object": "antidepressant",
      "class": [
        "data.frame"
      ],
      "fields": [
        "PATIENT.NUMBER",
        "HAMA.TOTAL",
        "PGI.IMPROVEMENT",
        "VISIT.DATE",
        "VISIT.NUMBER",
        "TREATMENT.NAME",
        "PATIENT.SEX",
        "POOLED.INVESTIGATOR",
        "basval",
        "HAMD17.TOTAL",
        "change",
        "miss_flag",
        "methodcol",
        "referencecol"
      ],
      "rows": 688,
      "table": true,
      "tojson": true
    },
    {
      "name": "asthma",
      "title": "Sample data: asthma trial",
      "object": "asthma",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "time",
        "treat",
        "base",
        "fev"
      ],
      "rows": 732,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "acupuncture",
      "title": "Sample data: acupuncture trial",
      "topics": [
        "acupuncture"
      ]
    },
    {
      "page": "antidepressant",
      "title": "Sample data: antidepressant trial",
      "topics": [
        "antidepressant"
      ]
    },
    {
      "page": "asthma",
      "title": "Sample data: asthma trial",
      "topics": [
        "asthma"
      ]
    },
    {
      "page": "RefBasedMI",
      "title": "Reference-based multiple imputation of longitudinal data",
      "topics": [
        "RefBasedMI"
      ]
    }
  ],
  "_readme": "https://github.com/ucl/refbasedmi/raw/HEAD/README.md",
  "_rundeps": [
    "assertthat",
    "backports",
    "base64enc",
    "bit",
    "bit64",
    "boot",
    "broom",
    "bslib",
    "cachem",
    "checkmate",
    "cli",
    "clipr",
    "cluster",
    "codetools",
    "colorspace",
    "cpp11",
    "crayon",
    "data.table",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "forcats",
    "foreach",
    "foreign",
    "Formula",
    "fs",
    "generics",
    "ggplot2",
    "glmnet",
    "glue",
    "gridExtra",
    "gtable",
    "haven",
    "highr",
    "Hmisc",
    "hms",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "iterators",
    "jomo",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "magrittr",
    "MASS",
    "Matrix",
    "memoise",
    "mice",
    "mime",
    "minqa",
    "mitml",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "ordinal",
    "pan",
    "pastecs",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "rappdirs",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "Rdpack",
    "readr",
    "reformulas",
    "rlang",
    "rmarkdown",
    "rpart",
    "rstudioapi",
    "S7",
    "sass",
    "scales",
    "shape",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "tzdb",
    "ucminf",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr",
    "xfun",
    "yaml"
  ],
  "_sysdeps": [
    {
      "shlib": "libgfortran",
      "package": "libgfortran5",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "fortran",
      "homepage": "http://gcc.gnu.org/",
      "description": "Runtime library for GNU Fortran applications"
    }
  ],
  "_score": 4.352182518111363,
  "_indexed": true,
  "_nocasepkg": "refbasedmi",
  "_universes": [
    "ucl",
    "matteo21q"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-21T10:23:37.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "2c5190f4cec4bd35ffc055ba68ab6a25d2a9db1d49c129445ba5538f1fb7deb1",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/26219924266"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-21T10:23:55.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "fe4ca5b269f8f9dbc07710da42bd2f21f3cd212e5736662f4bfa4ad44c151106",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/26219924266"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-21T10:23:06.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "78bc2a85fdd6878a628b3edbd63d6796c1de70b7ff7fa5d65f779df077e787c0",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/26219924266"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-21T10:23:19.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "12c68c2d615fed96901ebaa8a0b2c5ac9f0ca2b94bad591cc9a54673de62280b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/26219924266"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-21T10:22:36.000Z",
      "arch": "aarch64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "5d12125d19237004101dc39d12cfb1c62d2a904f8059cf2a702e3195722d6f88",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/26219924266"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-21T10:23:35.000Z",
      "arch": "x86_64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "2b0531a99fe12b6b13700f01ef16b75cf178b3df73e05b8766286b55d0a733bc",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/26219924266"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-21T10:23:31.000Z",
      "arch": "aarch64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "45979e814530214f77431f6370d354cbf4460e6d3b409cd11870e3516495675d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/26219924266"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-21T10:25:02.000Z",
      "arch": "x86_64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "9c9ca3ba1c1933dd2d73f7187c3c7d198545bb776f34ca01312fa66c0f0d4052",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/26219924266"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-21T10:22:31.000Z",
      "arch": "x86_64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "6530d0113b88765bccc484ef88d87217f6620261f33bd9c20a7fa5f1de3140ab",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/26219924266"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-21T10:22:10.000Z",
      "arch": "x86_64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "9acdb0383b9f5e9a0e8869259761bb3b7e58cb885b7b182af3b983ecc32d0012",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/26219924266"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-21T10:22:26.000Z",
      "arch": "x86_64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "1279b7855320236866ccc8748f40b4ba96ff0d7395eeceb12dce8d4fefb0690e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/26219924266"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-06-02T12:56:36.000Z",
      "arch": "emscripten",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "350a6c3cf22839a3b31f2ecf198bbb2995faa4788f5afb94854f57077440b0ac",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/26219924266"
    }
  ]
}