{
  "_id": "6abe2ff099f7aa8c6aa536c8",
  "Package": "medflex",
  "Title": "Flexible Mediation Analysis Using Natural Effect Models",
  "Version": "0.6-10",
  "Date": "2023-06-22",
  "Authors@R": "c( \nperson(\"Johan\", \"Steen\", email = \"johan.steen@gmail.com\", role = c(\"aut\", \"cre\")),\nperson(\"Tom\", \"Loeys\", email = \"tom.loeys@ugent.be\", role = \"aut\"),\nperson(\"Beatrijs\", \"Moerkerke\", email = \"beatrijs.moerkerke@ugent.be\", role = \"aut\"),\nperson(\"Stijn\", \"Vansteelandt\", email = \"stijn.vansteelandt@ugent.be\", role = \"aut\"),\nperson(\"Joris\", \"Meys\", email = \"joris.meys@ugent.be\", comment = \"technical support\", role = \"ctb\"),\nperson(\"Theis\", \"Lange\", email = \"thlan@sund.ku.dk\", comment = \"valuable suggestions\", role = \"ctb\"),\nperson(\"Joscha\", \"Legewie\", email = \"\", role = \"ctb\"),\nperson(\"Paul\", \"Fink\", email = \"\", role = \"ctb\"),\nperson(\"Sanford\", \"Weisberg\", email = \"sanfordweisberg@gmail.com\", role = \"ctb\"),\nperson(\"Yves\", \"Rosseel\", email = \"\", role = \"ctb\"))",
  "Description": "Run flexible mediation analyses using natural effect\nmodels as described in Lange, Vansteelandt and Bekaert (2012)\n<DOI:10.1093/aje/kwr525>, Vansteelandt, Bekaert and Lange\n(2012) <DOI:10.1515/2161-962X.1014> and Loeys, Moerkerke, De\nSmet, Buysse, Steen and Vansteelandt (2013)\n<DOI:10.1080/00273171.2013.832132>.",
  "License": "GPL-2",
  "URL": "https://github.com/jmpsteen/medflex",
  "LazyData": "true",
  "RoxygenNote": "7.2.3",
  "Encoding": "UTF-8",
  "ByteCompile": "yes",
  "NeedsCompilation": "no",
  "Author": "Johan Steen [aut, cre], Tom Loeys [aut], Beatrijs Moerkerke\n[aut], Stijn Vansteelandt [aut], Joris Meys [ctb] (technical\nsupport), Theis Lange [ctb] (valuable suggestions), Joscha\nLegewie [ctb], Paul Fink [ctb], Sanford Weisberg [ctb], Yves\nRosseel [ctb]",
  "Maintainer": "Johan Steen <johan.steen@gmail.com>",
  "Config/pak/sysreqs": "cmake make libicu-dev",
  "Repository": "https://jmpsteen.r-universe.dev",
  "Date/Publication": "2023-06-22 13:28:21 UTC",
  "RemoteUrl": "https://github.com/jmpsteen/medflex",
  "RemoteRef": "HEAD",
  "RemoteSha": "327ff7a3fcadaa4abedf702aa1aac89073419f73",
  "Packaged": {
    "Date": "2026-10-01 09:59:10 UTC",
    "User": "root"
  },
  "_user": "jmpsteen",
  "_type": "src",
  "_file": "medflex_0.6-10.tar.gz",
  "_fileid": "https://r2.ropensci.org/d57b0e3b6aef4eb85d0530cf9d85722cf223677fe9aa4deb98793a9891cd44d4",
  "_filesize": 1559458,
  "_sha256": "d57b0e3b6aef4eb85d0530cf9d85722cf223677fe9aa4deb98793a9891cd44d4",
  "_expires": "2027-01-09T10:03:26.000Z",
  "_created": "2026-10-01T09:59:10.000Z",
  "_published": "2026-10-01T10:03:28.171Z",
  "_jobs": [
    {
      "job": 110317066436,
      "time": 168,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11153951004"
    },
    {
      "job": 110317066469,
      "time": 166,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11152724796"
    },
    {
      "job": 110317066558,
      "time": 202,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11153029965"
    },
    {
      "job": 110317066459,
      "time": 195,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11153134115"
    },
    {
      "job": 110315532768,
      "time": 264,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11153581988"
    },
    {
      "job": 110317066574,
      "time": 133,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11153482628"
    },
    {
      "job": 110317066488,
      "time": 93,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11153586420"
    },
    {
      "job": 110317066541,
      "time": 93,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11153482488"
    },
    {
      "job": 110317066490,
      "time": 97,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11152444991"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/jmpsteen/actions/runs/36845767692",
  "_status": "success",
  "_upstream": "https://github.com/jmpsteen/medflex",
  "_commit": {
    "id": "327ff7a3fcadaa4abedf702aa1aac89073419f73",
    "author": "jsteen <johan.steen@ugent.be>",
    "committer": "jsteen <johan.steen@ugent.be>",
    "message": "changed url's to doi's in CITATION (to avoid NOTE in CHECK)\n",
    "time": 1687440501
  },
  "_maintainer": {
    "name": "Johan Steen",
    "email": "johan.steen@gmail.com",
    "login": "jmpsteen",
    "description": "",
    "uuid": 4550959
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.1.2",
      "role": "Depends"
    },
    {
      "package": "multcomp",
      "version": ">= 1.3-6",
      "role": "Depends"
    },
    {
      "package": "boot",
      "version": ">= 1.3-8",
      "role": "Imports"
    },
    {
      "package": "car",
      "version": ">= 2.0-21",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "version": ">= 1.1-4",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "version": ">= 3.1.2",
      "role": "Imports"
    },
    {
      "package": "sandwich",
      "version": ">= 2.3-2",
      "role": "Imports"
    },
    {
      "package": "stats",
      "version": ">= 3.1.2",
      "role": "Imports"
    },
    {
      "package": "utils",
      "version": ">= 3.1.2",
      "role": "Imports"
    },
    {
      "package": "arm",
      "version": ">= 1.7-05",
      "role": "Suggests"
    },
    {
      "package": "gam",
      "version": ">= 1.09.1",
      "role": "Suggests"
    },
    {
      "package": "glmnet",
      "version": ">= 1.9-8",
      "role": "Suggests"
    },
    {
      "package": "mice",
      "version": ">= 2.22",
      "role": "Suggests"
    },
    {
      "package": "mitools",
      "version": ">= 2.3",
      "role": "Suggests"
    },
    {
      "package": "rpart",
      "version": ">= 4.1-8",
      "role": "Suggests"
    },
    {
      "package": "SuperLearner",
      "version": ">= 2.0-15",
      "role": "Suggests"
    },
    {
      "package": "VGAM",
      "version": ">= 1.0-0",
      "role": "Suggests"
    }
  ],
  "_owner": "jmpsteen",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "causal-inference",
    "flexible-modeling",
    "mediation-analysis"
  ],
  "_stars": 25,
  "_contributors": [
    {
      "user": "jmpsteen",
      "count": 66,
      "uuid": 4550959
    },
    {
      "user": "jlegewie",
      "count": 1,
      "uuid": 1292401
    }
  ],
  "_userbio": {
    "uuid": 4550959,
    "type": "user",
    "name": "jmpsteen",
    "followers": 10
  },
  "_downloads": {
    "count": 963,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/medflex"
  },
  "_mentions": 19,
  "_devurl": "https://github.com/jmpsteen/medflex",
  "_searchresults": 87,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/medflex.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/jmpsteen/medflex",
  "_realowner": "jmpsteen",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.4.0",
      "date": "2014-12-11"
    },
    {
      "version": "0.5-0",
      "date": "2015-02-07"
    },
    {
      "version": "0.5-1",
      "date": "2015-07-01"
    },
    {
      "version": "0.6-0",
      "date": "2015-09-13"
    },
    {
      "version": "0.6-1",
      "date": "2017-02-22"
    },
    {
      "version": "0.6-4",
      "date": "2017-09-15"
    },
    {
      "version": "0.6-6",
      "date": "2018-09-03"
    },
    {
      "version": "0.6-7",
      "date": "2020-08-03"
    },
    {
      "version": "0.6-10",
      "date": "2023-06-22"
    },
    {
      "version": "0.6-11",
      "date": "2025-10-13"
    }
  ],
  "_exports": [
    "neEffdecomp",
    "neImpute",
    "neLht",
    "neModel",
    "neWeight",
    "plot.neLht"
  ],
  "_datasets": [
    {
      "name": "UPBdata",
      "title": "UPB data",
      "object": "UPBdata",
      "class": [
        "data.frame"
      ],
      "fields": [
        "att",
        "attbin",
        "attcat",
        "negaff",
        "initiator",
        "gender",
        "educ",
        "age",
        "UPB"
      ],
      "rows": 385,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "expData",
      "title": "Expanded dataset",
      "topics": [
        "expData"
      ]
    },
    {
      "page": "expData-methods",
      "title": "Methods for expanded datasets",
      "topics": [
        "expData-methods",
        "residualPlot.expData",
        "residualPlots.expData",
        "residuals.expData",
        "weights.expData"
      ]
    },
    {
      "page": "neImpute",
      "title": "Expand the dataset and impute nested counterfactual outcomes",
      "topics": [
        "neImpute"
      ]
    },
    {
      "page": "neImpute.default",
      "title": "Expand the dataset and impute nested counterfactual outcomes",
      "topics": [
        "neImpute.default"
      ]
    },
    {
      "page": "neImpute.formula",
      "title": "Expand the dataset and impute nested counterfactual outcomes",
      "topics": [
        "neImpute.formula"
      ]
    },
    {
      "page": "neLht",
      "title": "Linear hypotheses for natural effect models",
      "topics": [
        "neEffdecomp",
        "neEffdecomp.neModel",
        "neLht",
        "neLht.neModel"
      ]
    },
    {
      "page": "neLht-methods",
      "title": "Methods for linear hypotheses in natural effect models",
      "topics": [
        "confint.neLht",
        "confint.neLhtBoot",
        "neLht-methods",
        "summary.neLht"
      ]
    },
    {
      "page": "neModel",
      "title": "Fit a natural effect model",
      "topics": [
        "neModel"
      ]
    },
    {
      "page": "neModel-methods",
      "title": "Methods for natural effect models",
      "topics": [
        "coef.neModel",
        "confint.neModel",
        "confint.neModelBoot",
        "neModel-methods",
        "residualPlot.neModel",
        "residualPlots.neModel",
        "summary.neModel",
        "vcov.neModel",
        "weights.neModel"
      ]
    },
    {
      "page": "neWeight",
      "title": "Expand the dataset and calculate ratio-of-mediator probability weights",
      "topics": [
        "neWeight"
      ]
    },
    {
      "page": "neWeight.default",
      "title": "Expand the dataset and calculate ratio-of-mediator probability weights",
      "topics": [
        "neWeight.default"
      ]
    },
    {
      "page": "neWeight.formula",
      "title": "Expand the dataset and calculate ratio-of-mediator probability weights",
      "topics": [
        "neWeight.formula"
      ]
    },
    {
      "page": "plot.neLht",
      "title": "Confidence interval plots for linear hypotheses in natural effect models",
      "topics": [
        "plot.neEffdecomp",
        "plot.neLht",
        "plot.neLhtBoot"
      ]
    },
    {
      "page": "plot.neModel",
      "title": "Confidence interval plots for natural effect components",
      "topics": [
        "plot.neModel",
        "plot.neModelBoot"
      ]
    },
    {
      "page": "UPBdata",
      "title": "UPB data",
      "topics": [
        "UPBdata"
      ]
    }
  ],
  "_readme": "https://github.com/jmpsteen/medflex/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "boot",
    "broom",
    "car",
    "carData",
    "cli",
    "codetools",
    "colorspace",
    "cowplot",
    "cpp11",
    "Deriv",
    "doBy",
    "dplyr",
    "farver",
    "forecast",
    "Formula",
    "fracdiff",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mgcv",
    "minqa",
    "modelr",
    "multcomp",
    "mvtnorm",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "purrr",
    "quantreg",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "S7",
    "sandwich",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "TH.data",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "medflex.Rnw",
      "filename": "medflex.pdf",
      "title": "Flexible mediation analysis in R using natural effect models",
      "engine": "utils::Sweave",
      "headings": [
        "Introduction",
        "The mediation formula",
        "Mediation analysis via natural effect models",
        "Dealing with different types of variables",
        "Effect modification of natural effects",
        "Tools for calculating and visualizing causal effect estimates",
        "Population-average natural effects",
        "Intermediate confounding: A joint mediation approach",
        "Weighting or imputing?",
        "Concluding remarks",
        "​"
      ],
      "created": "2015-02-04 16:45:53",
      "modified": "2021-02-23 16:21:47",
      "commits": 10
    },
    {
      "source": "sandwich.Rnw",
      "filename": "sandwich.pdf",
      "title": "Sandwich estimator derivations for natural effect model parameters",
      "engine": "utils::Sweave",
      "headings": [],
      "created": "2015-02-04 16:45:53",
      "modified": "2015-09-13 08:55:55",
      "commits": 5
    }
  ],
  "_score": 7.337459261290656,
  "_indexed": true,
  "_nocasepkg": "medflex",
  "_universes": [
    "jmpsteen"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6-10",
      "date": "2026-10-01T10:01:50.000Z",
      "distro": "resolute",
      "commit": "327ff7a3fcadaa4abedf702aa1aac89073419f73",
      "fileid": "https://r2.ropensci.org/e8d6047b0e1161af190769fab4c7ff999ba4f5b36035d808d5c51ec1b5d6b8c4",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jmpsteen/actions/runs/36845767692"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.6-10",
      "date": "2026-10-01T10:01:47.000Z",
      "distro": "resolute",
      "commit": "327ff7a3fcadaa4abedf702aa1aac89073419f73",
      "fileid": "https://r2.ropensci.org/8d0a03349af43969a33b50e79d527b43ec55bddea6129ebd53f1e70ac88d2107",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jmpsteen/actions/runs/36845767692"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6-10",
      "date": "2026-10-01T10:02:02.000Z",
      "commit": "327ff7a3fcadaa4abedf702aa1aac89073419f73",
      "fileid": "https://r2.ropensci.org/d00b8b8f994a2a310f389cbcbe9200e1024ae8a04032fa3e1a0d0fcd2087db61",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jmpsteen/actions/runs/36845767692"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.6-10",
      "date": "2026-10-01T10:01:41.000Z",
      "commit": "327ff7a3fcadaa4abedf702aa1aac89073419f73",
      "fileid": "https://r2.ropensci.org/87d97b4fdae15dc213c5740c41a05157ef9d7ff46b7567cfa647c65fa4f14c16",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jmpsteen/actions/runs/36845767692"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6-10",
      "date": "2026-10-01T10:01:45.000Z",
      "commit": "327ff7a3fcadaa4abedf702aa1aac89073419f73",
      "fileid": "https://r2.ropensci.org/481fd431c1eeab34061c9c0dc4382ad38f7d4ed3b435a18275a08b30eb464649",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jmpsteen/actions/runs/36845767692"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6-10",
      "date": "2026-10-01T10:00:25.000Z",
      "commit": "327ff7a3fcadaa4abedf702aa1aac89073419f73",
      "fileid": "https://r2.ropensci.org/f429cb676b859e99b08efb7d43e8b3b369852ca625f591a9eca398e12c851798",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jmpsteen/actions/runs/36845767692"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6-10",
      "date": "2026-10-01T10:00:30.000Z",
      "commit": "327ff7a3fcadaa4abedf702aa1aac89073419f73",
      "fileid": "https://r2.ropensci.org/ae9dbbdde4dc21dbf6bb6ffcff7826801432b8a2f40e9db85a1d6f14f2c8c5ab",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jmpsteen/actions/runs/36845767692"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.6-10",
      "date": "2026-10-01T10:00:30.000Z",
      "commit": "327ff7a3fcadaa4abedf702aa1aac89073419f73",
      "fileid": "https://r2.ropensci.org/45b5121f177ad1e83b4a6b0119dafd9d0e24d587c8cf2925be0446b904b30714",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jmpsteen/actions/runs/36845767692"
    }
  ]
}