{
  "_id": "6a201968b401979e7344a149",
  "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-06-03 11:46:57 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",
  "MD5sum": "03e80ed1fc644a55eb2c8f1553586bd7",
  "_user": "cran",
  "_type": "src",
  "_file": "pema_0.1.5.tar.gz",
  "_fileid": "4f7d9942e40f5ead98f877d611b8b1f81e59c0c64d27fce88b15ba1b3b94abb0",
  "_filesize": 1470032,
  "_sha256": "4f7d9942e40f5ead98f877d611b8b1f81e59c0c64d27fce88b15ba1b3b94abb0",
  "_created": "2026-06-03T11:46:57.000Z",
  "_published": "2026-06-03T12:09:12.301Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79287903810,
      "time": 806,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7384112327"
    },
    {
      "job": 79287903806,
      "time": 797,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7384108468"
    },
    {
      "job": 79287903854,
      "time": 808,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7384113393"
    },
    {
      "job": 79287903809,
      "time": 761,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7384094828"
    },
    {
      "job": 79284595430,
      "time": 1163,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7383836093"
    },
    {
      "job": 79287903892,
      "time": 183,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26882104217",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/pema",
  "_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
  },
  "_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": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-41",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.5",
      "date": "2025-10-06"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "cjvanlissa",
      "count": 4,
      "uuid": 11941251
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 729,
    "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": 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": "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-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.3222192947339195,
  "_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-06-03T11:58:31.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "43c1826ff1d39c01972888d5687104bfa0595777",
      "fileid": "68ff312148daa8fd2945ff6b78ad62a1bcbd14b59544a53b59e8068367e4f1f5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26882104217"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.5",
      "date": "2026-06-03T11:58:04.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "43c1826ff1d39c01972888d5687104bfa0595777",
      "fileid": "690fc7a73ea7d8c6477ba5af9bd503c8cf39a148481fc1560ea2dcea3a1c69ec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26882104217"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.5",
      "date": "2026-06-03T11:58:13.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "43c1826ff1d39c01972888d5687104bfa0595777",
      "fileid": "fb7fa59131f5b48af1cff9e04293a479aa6876e5fe4deb21f3eb0e20b2251fee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26882104217"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.5",
      "date": "2026-06-03T11:57:56.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "43c1826ff1d39c01972888d5687104bfa0595777",
      "fileid": "3376dc6199ae51651bb8ef70bf4ab996031ab46057d295024792db7f8095bc0b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26882104217"
    }
  ]
}