{
  "_id": "6ad48174104c877e3b41466f",
  "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-10-18 08:11:26 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/a5272bdc7af10999f332df339a38f3217a7ea52332f541e27240ce7e1cf5d6a0",
  "_filesize": 848760,
  "_sha256": "a5272bdc7af10999f332df339a38f3217a7ea52332f541e27240ce7e1cf5d6a0",
  "_expires": "2027-01-26T08:21:07.000Z",
  "_created": "2026-10-18T08:11:26.000Z",
  "_published": "2026-10-18T08:21:08.852Z",
  "_buildurl": "https://github.com/r-universe/ucl/actions/runs/39110200013",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117625490306,
      "time": 156,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "12129354415"
    },
    {
      "job": 117625490347,
      "time": 162,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "12130611203"
    },
    {
      "job": 117625490285,
      "time": 166,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "12129663641"
    },
    {
      "job": 117625490288,
      "time": 156,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "12130028127"
    },
    {
      "job": 117625490259,
      "time": 204,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "12129738572"
    },
    {
      "job": 117625490297,
      "time": 496,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "12130820748"
    },
    {
      "job": 117625490262,
      "time": 216,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "12130302657"
    },
    {
      "job": 117625490322,
      "time": 355,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "12130033630"
    },
    {
      "job": 117624552103,
      "time": 281,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12129971947"
    },
    {
      "job": 117625490277,
      "time": 143,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12130476743"
    },
    {
      "job": 117625490356,
      "time": 382,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "12130397320"
    },
    {
      "job": 117625490307,
      "time": 196,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "12130695915"
    },
    {
      "job": 117625490317,
      "time": 130,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "12130650809"
    },
    {
      "job": 117625490284,
      "time": 397,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "12130223049"
    },
    {
      "job": 117625490286,
      "time": 138,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "12130566351"
    }
  ],
  "_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": 348,
    "description": "To join the organisation contact UCL's Advanced Research Computing Centre via MyServices"
  },
  "_downloads": {
    "count": 271,
    "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/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "extra/RefBasedMI.html",
    "LICENSE"
  ],
  "_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-10-18T08:13:49.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "https://r2.ropensci.org/ab890f046a1d9b3de57c27302ff532509aa7a4ba09064620034d5f4ca803fb8c",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/39110200013"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-18T08:13:51.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "https://r2.ropensci.org/121f3d97a6fda026d083004bf08444e074824f200f54cfdaac2761bf47b9230f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/39110200013"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-18T08:14:02.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "https://r2.ropensci.org/19468398afda500eb2fd6d43e4d1e23e69ff11c93a7b283464a4a47c309ee5c3",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/39110200013"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-18T08:13:41.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "https://r2.ropensci.org/d69865c7330f174813605fc6ff8b0e89b08e64ec2d61467dce69b5b82ef843d8",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/39110200013"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-18T08:14:13.000Z",
      "arch": "aarch64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "https://r2.ropensci.org/c2ee69641aea65d2fa16e1ab1090ebb624caa1f5a9d76140c4a686a359407352",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/39110200013"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-18T08:18:21.000Z",
      "arch": "x86_64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "https://r2.ropensci.org/ceb144951f1cd6616e74abc98113de74f6dd020139176db02d7cc4e937e5abdb",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/39110200013"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-18T08:14:50.000Z",
      "arch": "aarch64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "https://r2.ropensci.org/2f8b349e64d784119bd96525163d10bfefa5e3b5fcdab65a85ab64c7b159986b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/39110200013"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-18T08:17:26.000Z",
      "arch": "x86_64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "https://r2.ropensci.org/2b9cf0ddcc82d0ecc600e3a5c8db429b1dcffdfabf0e64cafdc79eda89aed0e1",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/39110200013"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-10-18T08:14:06.000Z",
      "arch": "emscripten",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "https://r2.ropensci.org/17fb22091d17fe3eb9ef672ae3d90b8466d18d299f38f60dcbf35556fbd9079b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/39110200013"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-18T08:16:37.000Z",
      "arch": "aarch64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "https://r2.ropensci.org/b2e7f0c1aee3991a9c71f041093c78dc1d85f52f14d23f77132bea158a01e2c6",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/39110200013"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-18T08:13:29.000Z",
      "arch": "x86_64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "https://r2.ropensci.org/d4a504775224ac54546154b1d8f7a1fa189cc5dcec21461a5465db4c36707941",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/39110200013"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-18T08:12:56.000Z",
      "arch": "x86_64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "https://r2.ropensci.org/3f15f5e35b1758f360e17d44ee286812d67b1e447a7365374da028f15f83bf2f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/39110200013"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-18T08:17:06.000Z",
      "arch": "aarch64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "https://r2.ropensci.org/fa359960a0460611b6a16eb728efc0fe9cc2b5a55f51fe565873b6217050487f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/39110200013"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-18T08:12:59.000Z",
      "arch": "x86_64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "https://r2.ropensci.org/6c1c80cf24793d795bfe5c46a9c2f758d5a9e1137bdf1fe616da00dfbc29297a",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/39110200013"
    }
  ]
}