{
  "_id": "6a5de9c79baadeef8ab56224",
  "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-07-20 09:20:12 UTC",
    "User": "root"
  },
  "Author": "Kevin McGrath [aut],\nMatteo Quartagno [cre]",
  "Maintainer": "Matteo Quartagno <m.quartagno@ucl.ac.uk>",
  "_user": "ucl",
  "_type": "src",
  "_file": "RefBasedMI_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/adee515f1d2558f2f23079ba60e0cb9be59787dfbbeb1d6fd75ed879bd0937a9",
  "_filesize": 845540,
  "_sha256": "adee515f1d2558f2f23079ba60e0cb9be59787dfbbeb1d6fd75ed879bd0937a9",
  "_expires": "2026-10-28T09:26:29.000Z",
  "_created": "2026-07-20T09:20:12.000Z",
  "_published": "2026-07-20T09:26:31.345Z",
  "_jobs": [
    {
      "job": 88315457798,
      "time": 182,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8456364053"
    },
    {
      "job": 88315457831,
      "time": 178,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8456360364"
    },
    {
      "job": 88315457846,
      "time": 208,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8456374799"
    },
    {
      "job": 88315457770,
      "time": 207,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8456372259"
    },
    {
      "job": 88315457761,
      "time": 154,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8456350216"
    },
    {
      "job": 88315457882,
      "time": 200,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8456370991"
    },
    {
      "job": 88315457834,
      "time": 112,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8456332408"
    },
    {
      "job": 88315457735,
      "time": 329,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8456423758"
    },
    {
      "job": 88314732360,
      "time": 210,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8456283081"
    },
    {
      "job": 88315457699,
      "time": 165,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8456354899"
    },
    {
      "job": 88315457691,
      "time": 133,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8456341168"
    },
    {
      "job": 88315457751,
      "time": 125,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8456338006"
    },
    {
      "job": 88315457740,
      "time": 186,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8456364155"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/ucl/actions/runs/29730823403",
  "_status": "success",
  "_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
  },
  "_distro": "resolute",
  "_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",
    "followers": 335,
    "description": "To join the organisation contact UCL's Advanced Research Computing Centre via MyServices"
  },
  "_downloads": {
    "count": 266,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RefBasedMI"
  },
  "_devurl": "https://github.com/ucl/refbasedmi",
  "_searchresults": 10,
  "_topics": [
    "fortran"
  ],
  "_rbuild": "4.6.1",
  "_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",
    "LICENSE",
    "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": "16-20260322-1ubuntu1",
      "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-07-20T09:23:03.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "https://r2.ropensci.org/d344d711d40ec1b3360e5e5c3bfba9aeaea5ab8c06175d369754b7222f6f3367",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/29730823403"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-07-20T09:22:54.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "https://r2.ropensci.org/03158b0be831f266b5ed20cd6785f7e0eb9d1098bab73cd4636365d8a62dc9b6",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/29730823403"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-07-20T09:23:29.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "https://r2.ropensci.org/81bcbb3ac9007ca4361441f3209e63821fa2a8fe0ed06caf5b51631932527b3b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/29730823403"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-07-20T09:23:11.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "https://r2.ropensci.org/8489dbfa25adef4ed37a0047260de64d43db2bacd732cedf429d546aed7f4acf",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/29730823403"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-07-20T09:22:16.000Z",
      "arch": "aarch64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "https://r2.ropensci.org/a71f2afcd5a243f18f95d72431c04b5adc3f937953d540141ac0983afe08575c",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/29730823403"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-07-20T09:22:55.000Z",
      "arch": "x86_64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "https://r2.ropensci.org/15ab794f9790eec3ec4ca2049fca642864a0fc520fbc6f6ae27124f236352b1e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/29730823403"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-07-20T09:21:45.000Z",
      "arch": "aarch64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "https://r2.ropensci.org/90d9aebe293f662a06b9609e5d1c67f2221e3994707c463692fb279c9afc2f48",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/29730823403"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-07-20T09:24:11.000Z",
      "arch": "x86_64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "https://r2.ropensci.org/1982f301e7aba6daa62214a95bb08bac068942320b0589fba58a93e734359f0c",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/29730823403"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-07-20T09:23:09.000Z",
      "arch": "emscripten",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "https://r2.ropensci.org/1ab9bf38fcb30a6165aa1055cd1fb43b2b7ba77dcfa2a56bc92eb23be00edb7f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/29730823403"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-07-20T09:21:35.000Z",
      "arch": "x86_64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "https://r2.ropensci.org/ad9dc27241ae525a8feb53ebfe617391baf73fe6063f59d9017f7b7219137de8",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/29730823403"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-07-20T09:21:33.000Z",
      "arch": "x86_64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "https://r2.ropensci.org/af418f24fa87cbcf10df96bde56c3a2bbf6151f61a64ba426e85c8287ed944bb",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/29730823403"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-07-20T09:22:23.000Z",
      "arch": "x86_64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "https://r2.ropensci.org/b527faf55e264dc53cc564ec773f4675d29599eab3ab37b2366dc02706d21e9c",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/29730823403"
    }
  ]
}