{
  "_id": "6a366ae13efcd9bda4408dbd",
  "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-06-20 10:22:00 UTC",
    "User": "root"
  },
  "Author": "Kevin McGrath [aut],\nMatteo Quartagno [cre]",
  "Maintainer": "Matteo Quartagno <m.quartagno@ucl.ac.uk>",
  "MD5sum": "78d15456c62405d774b351d642744e6d",
  "_user": "ucl",
  "_type": "src",
  "_file": "RefBasedMI_0.2.0.tar.gz",
  "_fileid": "81980bb00ca27886638a1521b41c708d378af0ff0fea2c2df2c2d0e643ec3191",
  "_filesize": 848675,
  "_sha256": "81980bb00ca27886638a1521b41c708d378af0ff0fea2c2df2c2d0e643ec3191",
  "_created": "2026-06-20T10:22:00.000Z",
  "_published": "2026-06-20T10:26:41.320Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82475830346,
      "time": 198,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7764503053"
    },
    {
      "job": 82475830369,
      "time": 168,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7764499286"
    },
    {
      "job": 82475830365,
      "time": 196,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7764502674"
    },
    {
      "job": 82475830363,
      "time": 168,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7764499305"
    },
    {
      "job": 82475830356,
      "time": 126,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7764494530"
    },
    {
      "job": 82475830367,
      "time": 241,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7764507471"
    },
    {
      "job": 82475830359,
      "time": 103,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7764491434"
    },
    {
      "job": 82475830358,
      "time": 189,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7764501622"
    },
    {
      "job": 82475632021,
      "time": 205,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7764479289"
    },
    {
      "job": 82475830344,
      "time": 135,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7764495471"
    },
    {
      "job": 82475830351,
      "time": 158,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7764497949"
    },
    {
      "job": 82475830352,
      "time": 157,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7764497921"
    },
    {
      "job": 82475830347,
      "time": 137,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7764495802"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ucl/actions/runs/27868173935",
  "_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",
    "followers": 330,
    "description": "To join the organisation contact UCL's Advanced Research Computing Centre via MyServices"
  },
  "_downloads": {
    "count": 242,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RefBasedMI"
  },
  "_devurl": "https://github.com/ucl/refbasedmi",
  "_searchresults": 10,
  "_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",
    "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": "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-06-20T10:25:05.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "a41d53fa27f958cee5c141708731629cd5ac1d31ad3d25be9b8bea11efc4162b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/27868173935"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-20T10:24:26.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "f08052de198e01b0e14c774ffbc179e554bdbc5dd0b981246eff8728e6960414",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/27868173935"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-20T10:25:02.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "96dfa4101d938beb7c285c9128d8c0f234701dca29bcb9be9b49a5aac77a20dc",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/27868173935"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-20T10:24:27.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "7671c978a7d7880bfc1f118bc4848e56a7b4a2bf9112849b39bfcca3c114b29b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/27868173935"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-06-20T10:23:50.000Z",
      "arch": "aarch64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "a65ef8490cfd4eadde5092e9fd16fe98f2c33c6e01295feac75a325995e69a0c",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/27868173935"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-06-20T10:25:08.000Z",
      "arch": "x86_64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "afa49e4b18fc7b5af0ee73e4d9ca8ac8fe49f10e2c32a3b3c2be27a41905356b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/27868173935"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-06-20T10:23:33.000Z",
      "arch": "aarch64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "4c0bdc6fd7a9f6292a87df611e3d86fc5c48385f21cf2282db50321f328c5304",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/27868173935"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-06-20T10:24:28.000Z",
      "arch": "x86_64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "f392b61502cf56f590d07ac9b8f153a9e516c4d00984ad8b519c589d44aa9d4a",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/27868173935"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-06-20T10:24:30.000Z",
      "arch": "emscripten",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "a16414020074b204aa6587226b667d5f15b0d6cf16f8de7037bb9a954de7a781",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/27868173935"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-20T10:24:00.000Z",
      "arch": "x86_64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "84e7b008cace25e2c9f6f69026bc4649a8aec09f726f6c6fd8c320a87f119450",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/27868173935"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-20T10:24:00.000Z",
      "arch": "x86_64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "26559d58419c903e918281c67d0336c5440de37e1441d728968a972ce59039e7",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/27868173935"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-20T10:23:34.000Z",
      "arch": "x86_64",
      "commit": "316380971c5218ede52121719776eec223129d55",
      "fileid": "b8a05ef28a99e36bd5101133faa3a20b77f4a7ac7315dec6f89092f941cd1601",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/27868173935"
    }
  ]
}