{
  "_id": "6a216924cd65a98ecbd36174",
  "Package": "pema",
  "Title": "Penalized Meta-Analysis",
  "Version": "0.1.5",
  "Authors@R": "c(\nperson(c(\"Caspar\", \"J\"),\n\"van Lissa\",\nrole = c(\"aut\", \"cre\"),\nemail = \"c.j.vanlissa@tilburguniversity.edu\",\ncomment = c(ORCID = \"0000-0002-0808-5024\")),\nperson(c(\"Sara\", \"J\"), \"van Erp\", role = c(\"aut\"))\n)",
  "Description": "Conduct penalized meta-analysis, see Van Lissa, Van Erp, &\nClapper (2023) <doi:10.31234/osf.io/6phs5>. In meta-analysis,\nthere are often between-study differences. These can be coded\nas moderator variables, and controlled for using\nmeta-regression. However, if the number of moderators is large\nrelative to the number of studies, such an analysis may be\noverfit. Penalized meta-regression is useful in these cases,\nbecause it shrinks the regression slopes of irrelevant\nmoderators towards zero.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "URL": "https://github.com/cjvanlissa/pema,\nhttps://cjvanlissa.github.io/pema/",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Biarch": "true",
  "SystemRequirements": "GNU make",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "cmake make libuv1-dev zlib1g-dev",
  "Repository": "https://cjvanlissa.r-universe.dev",
  "Date/Publication": "2025-08-08 09:47:13 UTC",
  "RemoteUrl": "https://github.com/cjvanlissa/pema",
  "RemoteRef": "HEAD",
  "RemoteSha": "af4be5d63d28b68d614f640f5d15e7feb6ebf845",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-04 11:32:02 UTC",
    "User": "root"
  },
  "Author": "Caspar J van Lissa [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-0808-5024>),\nSara J van Erp [aut]",
  "Maintainer": "Caspar J van Lissa <c.j.vanlissa@tilburguniversity.edu>",
  "MD5sum": "676f5116da9410395474e391dbc2c5a0",
  "_user": "cjvanlissa",
  "_type": "src",
  "_file": "pema_0.1.5.tar.gz",
  "_fileid": "3eb476530a91a0fb33031d0113880fc3f758150c7657eec1d3873563b7775dc6",
  "_filesize": 1467764,
  "_sha256": "3eb476530a91a0fb33031d0113880fc3f758150c7657eec1d3873563b7775dc6",
  "_created": "2026-06-04T11:32:02.000Z",
  "_published": "2026-06-04T12:01:40.429Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79510633886,
      "time": 834,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7410712965"
    },
    {
      "job": 79510633896,
      "time": 663,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7410655721"
    },
    {
      "job": 79510633871,
      "time": 809,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7410705024"
    },
    {
      "job": 79510633925,
      "time": 773,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7410692066"
    },
    {
      "job": 79510633908,
      "time": 813,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7410761846"
    },
    {
      "job": 79510633936,
      "time": 1009,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7410852612"
    },
    {
      "job": 79510633915,
      "time": 837,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7410826695"
    },
    {
      "job": 79510633889,
      "time": 1088,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7410851644"
    },
    {
      "job": 79507635180,
      "time": 1154,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7410450389"
    },
    {
      "job": 79510633891,
      "time": 172,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79510633880,
      "time": 1121,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7410805043"
    },
    {
      "job": 79510633892,
      "time": 1292,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7410861493"
    },
    {
      "job": 79510633909,
      "time": 1286,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7410860664"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/26948545872",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cjvanlissa/pema",
  "_commit": {
    "id": "af4be5d63d28b68d614f640f5d15e7feb6ebf845",
    "author": "yourname <yourname@email.com>",
    "committer": "yourname <yourname@email.com>",
    "message": "update 2025-08-08 11:47:13.53106\n",
    "time": 1754646433
  },
  "_maintainer": {
    "name": "Caspar J van Lissa",
    "email": "c.j.vanlissa@tilburguniversity.edu",
    "login": "cjvanlissa",
    "orcid": "0000-0002-0808-5024",
    "description": "Developmental datascientist, studying mothers' and fathers' unique roles in children's socio-emotional development.",
    "uuid": 11941251
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.4.0",
      "role": "Depends"
    },
    {
      "package": "BH",
      "version": ">= 1.66.0",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "version": ">= 0.3.3.3.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "LinkingTo"
    },
    {
      "package": "rstan",
      "version": ">= 2.26.0",
      "role": "LinkingTo"
    },
    {
      "package": "StanHeaders",
      "version": ">= 2.26.0",
      "role": "LinkingTo"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "rstan",
      "version": ">= 2.26.0",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "Imports"
    },
    {
      "package": "rstantools",
      "version": ">= 2.1.1",
      "role": "Imports"
    },
    {
      "package": "sn",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "mice",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "webexercises",
      "role": "Suggests"
    },
    {
      "package": "bain",
      "role": "Suggests"
    },
    {
      "package": "metaforest",
      "role": "Suggests"
    },
    {
      "package": "metafor",
      "role": "Suggests"
    }
  ],
  "_owner": "cjvanlissa",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-32",
      "n": 5
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "eliclapper",
      "count": 42,
      "uuid": 74557493
    },
    {
      "user": "cjvanlissa",
      "count": 29,
      "uuid": 11941251
    },
    {
      "user": "opecheese",
      "count": 21,
      "uuid": 71661723
    },
    {
      "user": "sara-vanerp",
      "count": 11,
      "uuid": 12401092
    },
    {
      "user": "andrjohns",
      "count": 2,
      "uuid": 27717896
    }
  ],
  "_userbio": {
    "uuid": 11941251,
    "type": "user",
    "name": "C. J. van Lissa",
    "description": "Developmental datascientist, studying mothers' and fathers' unique roles in children's socio-emotional development."
  },
  "_downloads": {
    "count": 787,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/pema"
  },
  "_devurl": "https://github.com/cjvanlissa/pema",
  "_pkgdown": "https://cjvanlissa.github.io/pema/",
  "_searchresults": 21,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/pema.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/cjvanlissa/pema",
  "_realowner": "cjvanlissa",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2021-12-15"
    },
    {
      "version": "0.1.1",
      "date": "2022-04-25"
    },
    {
      "version": "0.1.2",
      "date": "2022-07-17"
    },
    {
      "version": "0.1.3",
      "date": "2023-03-16"
    },
    {
      "version": "0.1.4",
      "date": "2025-03-30"
    },
    {
      "version": "0.1.5",
      "date": "2025-10-06"
    }
  ],
  "_exports": [
    "as.stan",
    "brma",
    "check_workshop_data",
    "I2",
    "maxap",
    "plot_sensitivity",
    "sample_prior",
    "shiny_prior",
    "simulate_smd"
  ],
  "_datasets": [
    {
      "name": "bonapersona",
      "title": "Data from 'The behavioral phenotype of early life adversity'",
      "object": "bonapersona",
      "class": [
        "escalc",
        "data.frame"
      ],
      "fields": [
        "exp",
        "id",
        "author",
        "year",
        "journal",
        "species",
        "strainGrouped",
        "origin",
        "sex",
        "ageWeek",
        "model",
        "mTimeStart",
        "mTimeEnd",
        "mHoursAve",
        "mCageGrouped",
        "mLDGrouped",
        "mRepetition",
        "mControlGrouped",
        "hit2Grouped",
        "testAuthorGrouped",
        "testLDGrouped",
        "varAuthorGrouped",
        "waterT",
        "waterTcate",
        "freezingType",
        "retentionGrouped",
        "directionGrouped",
        "effectSizeCorrection",
        "cut_nC",
        "n_notRetriev",
        "nC",
        "meanC",
        "sdC",
        "seC",
        "nE",
        "meanE",
        "sdE",
        "seE",
        "dataFrom",
        "seqGeneration",
        "baseline",
        "allocation",
        "housing",
        "blindExp",
        "control",
        "outAss",
        "outBlind",
        "incData",
        "waterTNum",
        "each",
        "mTimeLength",
        "speciesStrainGrouped",
        "blindRand",
        "bias",
        "tV",
        "anxiety",
        "sLearning",
        "nsLearning",
        "social",
        "multiply",
        "noMeta",
        "domain",
        "directionQual",
        "yi",
        "vi"
      ],
      "rows": 734,
      "table": true,
      "tojson": true
    },
    {
      "name": "curry",
      "title": "Data from 'Happy to Help?'",
      "object": "curry",
      "class": [
        "data.frame"
      ],
      "fields": [
        "study_id",
        "effect_id",
        "d",
        "vi",
        "n1i",
        "n2c",
        "sex",
        "age",
        "location",
        "donor",
        "donorcode",
        "interventioniv",
        "interventioncode",
        "control",
        "controlcode",
        "recipients",
        "outcomedv",
        "outcomecode"
      ],
      "rows": 56,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "pema-package",
      "title": "pema: Conduct penalized meta-regression.",
      "topics": [
        "pema-package",
        "pema"
      ]
    },
    {
      "page": "as.stan",
      "title": "Convert an object to stanfit",
      "topics": [
        "as.stan"
      ]
    },
    {
      "page": "bonapersona",
      "title": "Data from 'The behavioral phenotype of early life adversity'",
      "topics": [
        "bonapersona"
      ]
    },
    {
      "page": "brma",
      "title": "Conduct Bayesian Regularized Meta-Analysis",
      "topics": [
        "brma",
        "brma.default",
        "brma.formula"
      ]
    },
    {
      "page": "check_workshop_data",
      "title": "Check Data for BRMA Workshop",
      "topics": [
        "check_workshop_data"
      ]
    },
    {
      "page": "curry",
      "title": "Data from 'Happy to Help?'",
      "topics": [
        "curry"
      ]
    },
    {
      "page": "I2",
      "title": "Compute I2",
      "topics": [
        "I2"
      ]
    },
    {
      "page": "maxap",
      "title": "Maximum a posteriori parameter estimate",
      "topics": [
        "maxap"
      ]
    },
    {
      "page": "plot_sensitivity",
      "title": "Plot posterior distributions for BRMA models",
      "topics": [
        "plot_sensitivity"
      ]
    },
    {
      "page": "sample_prior",
      "title": "Sample from the Prior Distribution",
      "topics": [
        "sample_prior"
      ]
    },
    {
      "page": "shiny_prior",
      "title": "Interactively Sample from the Prior Distribution",
      "topics": [
        "shiny_prior"
      ]
    },
    {
      "page": "simulate_smd",
      "title": "Simulates a meta-analytic dataset",
      "topics": [
        "simulate_smd"
      ]
    }
  ],
  "_readme": "https://github.com/cjvanlissa/pema/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "base64enc",
    "BH",
    "bslib",
    "cachem",
    "callr",
    "checkmate",
    "cli",
    "commonmark",
    "cpp11",
    "desc",
    "digest",
    "distributional",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "htmltools",
    "httpuv",
    "inline",
    "isoband",
    "jquerylib",
    "jsonlite",
    "labeling",
    "later",
    "lattice",
    "lifecycle",
    "loo",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "matrixStats",
    "memoise",
    "mime",
    "mnormt",
    "numDeriv",
    "otel",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "posterior",
    "processx",
    "promises",
    "ps",
    "quantreg",
    "QuickJSR",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "rlang",
    "rstan",
    "rstantools",
    "S7",
    "sass",
    "scales",
    "shiny",
    "sn",
    "sourcetools",
    "SparseM",
    "StanHeaders",
    "survival",
    "tensorA",
    "tibble",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xtable"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "using-brma.Rmd",
      "filename": "using-brma.html",
      "title": "Conducting a Bayesian Regularized Meta-analysis",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Packages",
        "Data",
        "Impute missings",
        "Moderators",
        "Two-level model",
        "Two-level model with the lasso prior",
        "Assessing convergence and interpreting the results",
        "Two-level model with the horseshoe prior",
        "Three-level model",
        "Standardization"
      ],
      "created": "2022-04-07 12:25:58",
      "modified": "2025-03-29 16:20:48",
      "commits": 9
    },
    {
      "source": "meta-analysis_tutorial.Rmd",
      "filename": "meta-analysis_tutorial.html",
      "title": "Tutorial: Machine Learning-Informed Meta-Analysis",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Tutorial Requirements",
        "Meta-Analysis in R",
        "Using Your Own Data",
        "Using Different Demo Data",
        "Fixed Effect Model",
        "Fixed-effects Model with rma",
        "Random-Effects-Model",
        "Random-Effects Model with rma",
        "Meta-Regression",
        "Testing Moderators' Significance",
        "Assessing Meta-Regression Model Fit",
        "Meta-regression in R",
        "Continuous Predictors",
        "Multiple Meta-Regression",
        "Optional: Pitfalls of Meta-Regression",
        "Multicollinearity",
        "Overfitting",
        "Penalized Meta-Regression",
        "Two-level model",
        "Two-level model with the lasso prior",
        "Assessing convergence and interpreting the results",
        "Optional: Three-level model with Horseshoe Prior",
        "More Information",
        "Random Forest Meta-Regression",
        "Check Convergence",
        "Model Tuning",
        "Interpreting the Results",
        "Bayesian Evidence Synthesis",
        "Repeating the RMA",
        "Product Bayes Factor",
        "Credit",
        "References"
      ],
      "created": "2025-02-27 10:28:07",
      "modified": "2025-08-08 09:47:13",
      "commits": 13
    }
  ],
  "_score": 4.924279286061882,
  "_indexed": true,
  "_nocasepkg": "pema",
  "_universes": [
    "cjvanlissa"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.5",
      "date": "2026-06-04T11:43:05.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "af4be5d63d28b68d614f640f5d15e7feb6ebf845",
      "fileid": "434bf29898e66e9afbd066839ee27e886aea74f0dad953a85fb4de3e99631296",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/26948545872"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.5",
      "date": "2026-06-04T11:42:23.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "af4be5d63d28b68d614f640f5d15e7feb6ebf845",
      "fileid": "73171df986c427ddf9c032087f7372d37520ff19f276cd1874d5b89959367058",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/26948545872"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.5",
      "date": "2026-06-04T11:42:44.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "af4be5d63d28b68d614f640f5d15e7feb6ebf845",
      "fileid": "9305fbb965079d0ec7a7f2dedde1ca2ab703103b880f3edc7684990bf2e90ca6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/26948545872"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.5",
      "date": "2026-06-04T11:42:31.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "af4be5d63d28b68d614f640f5d15e7feb6ebf845",
      "fileid": "418ed567eb2d90035944bdf8519a9ef649f3768c942f8b8cc52ff8d911d4179d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/26948545872"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.5",
      "date": "2026-06-04T11:44:53.000Z",
      "arch": "aarch64",
      "commit": "af4be5d63d28b68d614f640f5d15e7feb6ebf845",
      "fileid": "0fe3d3dad36df6399f34ec743011aceb93525d812d4c923fea7ebc1de97e0bbf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/26948545872"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.5",
      "date": "2026-06-04T11:47:47.000Z",
      "arch": "x86_64",
      "commit": "af4be5d63d28b68d614f640f5d15e7feb6ebf845",
      "fileid": "19b488e82949d1ff45ffe8301e29e6161fe760ae9c27f42560aeadcafde7f6b5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/26948545872"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.5",
      "date": "2026-06-04T11:47:55.000Z",
      "arch": "aarch64",
      "commit": "af4be5d63d28b68d614f640f5d15e7feb6ebf845",
      "fileid": "3c94258aaeeb07fe4fc97a393248f0d77a8496a062179bc5333b8df3bc8c5092",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/26948545872"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.5",
      "date": "2026-06-04T11:46:29.000Z",
      "arch": "x86_64",
      "commit": "af4be5d63d28b68d614f640f5d15e7feb6ebf845",
      "fileid": "425c02dd677273c1ee0b67cef7ab21f9775fc46a951dc62496b56c99f61440fb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/26948545872"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.5",
      "date": "2026-06-04T11:42:07.000Z",
      "arch": "x86_64",
      "commit": "af4be5d63d28b68d614f640f5d15e7feb6ebf845",
      "fileid": "65019ba42cf182e54fd88e017871e59042690142e4e847ed1f605bdcec1d6def",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/26948545872"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.5",
      "date": "2026-06-04T11:42:46.000Z",
      "arch": "x86_64",
      "commit": "af4be5d63d28b68d614f640f5d15e7feb6ebf845",
      "fileid": "f2f81f07175e99f872b611efb547cdb891708723cb0d9da0e33560fe13f503ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/26948545872"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.5",
      "date": "2026-06-04T11:44:00.000Z",
      "arch": "x86_64",
      "commit": "af4be5d63d28b68d614f640f5d15e7feb6ebf845",
      "fileid": "14d0fa775839754f1e51a3f9eac954a445a20763860f8efc93c8a465b3ec8fb2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/26948545872"
    }
  ]
}