{
  "_id": "6ae3382895ca2370cc8ce210",
  "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/",
  "RoxygenNote": "7.3.2",
  "Biarch": "true",
  "SystemRequirements": "GNU make",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-29 11:44:52 UTC",
    "User": "root"
  },
  "Author": "Caspar J van Lissa [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-0808-5024>), Sara J van Erp [aut]",
  "Maintainer": "Caspar J van Lissa <c.j.vanlissa@tilburguniversity.edu>",
  "Config/pak/sysreqs": "make",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-10-06 18:50:02 UTC",
  "RemoteUrl": "https://github.com/cran/pema",
  "RemoteRef": "HEAD",
  "RemoteSha": "43c1826ff1d39c01972888d5687104bfa0595777",
  "_user": "cran",
  "_type": "src",
  "_file": "pema_0.1.5.tar.gz",
  "_fileid": "https://r2.ropensci.org/f819b8532ec20dd5ddc2e328bb3143d944784b18d7bd63687c63f2947c03624c",
  "_filesize": 1468519,
  "_sha256": "f819b8532ec20dd5ddc2e328bb3143d944784b18d7bd63687c63f2947c03624c",
  "_expires": "2027-02-06T12:12:21.000Z",
  "_created": "2026-10-29T11:44:52.000Z",
  "_published": "2026-10-29T12:12:23.760Z",
  "_upstream": "https://github.com/cran/pema",
  "_status": "success",
  "_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
  },
  "_jobs": [
    {
      "job": 123430613105,
      "time": 716,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12895192971"
    },
    {
      "job": 123430613169,
      "time": 834,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12895523006"
    },
    {
      "job": 123430613133,
      "time": 710,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12896335196"
    },
    {
      "job": 123430613083,
      "time": 774,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12896131184"
    },
    {
      "job": 123421117268,
      "time": 1316,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12894294569"
    },
    {
      "job": 123430613011,
      "time": 517,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12894694071"
    },
    {
      "job": 123430613216,
      "time": 777,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12896415261"
    },
    {
      "job": 123430613084,
      "time": 1094,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12896511018"
    },
    {
      "job": 123430613063,
      "time": 770,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12896066359"
    },
    {
      "job": 123430613056,
      "time": 728,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12895981555"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/40866046353",
  "_commit": {
    "id": "43c1826ff1d39c01972888d5687104bfa0595777",
    "author": "Caspar J van Lissa <c.j.vanlissa@tilburguniversity.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.5\n",
    "time": 1759776602
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "cjvanlissa",
      "count": 4,
      "uuid": 11941251
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 483,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/pema"
  },
  "_devurl": "https://github.com/cjvanlissa/pema",
  "_pkgdown": "https://cjvanlissa.github.io/pema/",
  "_searchresults": 0,
  "_topics": [
    "onetbb",
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/pema.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/cjvanlissa/pema",
  "_realowner": "cjvanlissa",
  "_cranurl": false,
  "_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/cran/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": "libtbb",
      "package": "libtbb12",
      "headers": "libtbb-dev",
      "source": "onetbb",
      "version": "2022.3.0-2",
      "name": "onetbb",
      "homepage": "https://uxlfoundation.github.io/oneTBB/",
      "description": "parallelism library for C++ - runtime files"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "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-25 06:20:04",
      "modified": "2025-03-30 08:35:43",
      "commits": 3
    },
    {
      "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-03-30 08:35:43",
      "modified": "2025-10-06 18:50:02",
      "commits": 2
    }
  ],
  "_score": 3,
  "_indexed": false,
  "_nocasepkg": "pema",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://cjvanlissa.r-universe.dev/pema",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.5",
      "date": "2026-10-29T11:55:59.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "43c1826ff1d39c01972888d5687104bfa0595777",
      "fileid": "https://r2.ropensci.org/bedf025f7a1f1ca0a9f55d28bd3a77583416e0e69bc7d724703e37f12eda9a98",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40866046353"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.5",
      "date": "2026-10-29T11:56:22.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "43c1826ff1d39c01972888d5687104bfa0595777",
      "fileid": "https://r2.ropensci.org/1e37863230e5fee8c7146a8272286ff1b5e38a7f00c98e8ae4443e07a89242b7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40866046353"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.5",
      "date": "2026-10-29T11:55:55.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "43c1826ff1d39c01972888d5687104bfa0595777",
      "fileid": "https://r2.ropensci.org/6b18005cdf6a1215c621663ab86a9eeebfe4769c6d26a51ff04ba990e55a96da",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40866046353"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.5",
      "date": "2026-10-29T11:56:21.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "43c1826ff1d39c01972888d5687104bfa0595777",
      "fileid": "https://r2.ropensci.org/b8cd39fc293271aa8481050746337c5663789cb22fdf07657caa30beb7109e47",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40866046353"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.5",
      "date": "2026-10-29T11:56:31.000Z",
      "arch": "emscripten",
      "commit": "43c1826ff1d39c01972888d5687104bfa0595777",
      "fileid": "https://r2.ropensci.org/8b46a81957fd986a23a566327f99b37eaaf08828eadeff0d1eda0d74a37a05ab",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40866046353"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.5",
      "date": "2026-10-29T11:57:23.000Z",
      "arch": "aarch64",
      "commit": "43c1826ff1d39c01972888d5687104bfa0595777",
      "fileid": "https://r2.ropensci.org/ce73043c0513f79531d5020d7c7a6ca12feef251104700396c4e83d9a9c1addd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40866046353"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.5",
      "date": "2026-10-29T11:55:19.000Z",
      "arch": "x86_64",
      "commit": "43c1826ff1d39c01972888d5687104bfa0595777",
      "fileid": "https://r2.ropensci.org/3e2c1bb1638ada4afa6d02b69944c7e294e040c964aa0e3c9a0a1a81f88e3f72",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40866046353"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.5",
      "date": "2026-10-29T11:57:52.000Z",
      "arch": "aarch64",
      "commit": "43c1826ff1d39c01972888d5687104bfa0595777",
      "fileid": "https://r2.ropensci.org/e490ee414a1011945c1c3d5b337ee37a40420d18fb4586703860ac4a7323ae7f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40866046353"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.5",
      "date": "2026-10-29T11:55:08.000Z",
      "arch": "x86_64",
      "commit": "43c1826ff1d39c01972888d5687104bfa0595777",
      "fileid": "https://r2.ropensci.org/fd64cd0a5237d90a8c0a47e8c709e684d45655b284b65d951c66e94d2396aa3f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40866046353"
    }
  ]
}