{
  "_id": "6adb42331206290b6ab76976",
  "Package": "bain",
  "Type": "Package",
  "Title": "Bayes Factors for Informative Hypotheses",
  "Version": "0.2.12",
  "Authors@R": "c(\nperson(c(\"Xin\"), \"Gu\", role = c(\"aut\"), email = \"guxin57@hotmail.com\"),\nperson(c(\"Herbert\"), \"Hoijtink\", role = c(\"aut\"), email = \"h.hoijtink@uu.nl\"),\nperson(c(\"Joris\"), \"Mulder\", role = c(\"aut\"), email = \"jomulder@gmail.com\"),\nperson(c(\"Caspar\", \"J\"), \"van Lissa\", role = c(\"aut\", \"cre\"), email = \"c.j.vanlissa@tilburguniversity.edu\"),\nperson(c(\"Van Zundert\"), \"Camiel\", role = \"ctb\"),\nperson(c(\"Jeff\"), \"Jones\", role = \"ctb\"),\nperson(c(\"Niels\"), \"Waller\", role = \"ctb\")\n)",
  "Description": "Computes approximated adjusted fractional Bayes factors\nfor equality, inequality, and about equality constrained\nhypotheses. For a tutorial on this method, see Hoijtink,\nMulder, van Lissa, & Gu, (2019) <doi:10.1037/met0000201>. For\napplications in structural equation modeling, see: Van Lissa,\nGu, Mulder, Rosseel, Van Zundert, & Hoijtink, (2021)\n<doi:10.1080/10705511.2020.1745644>. For the statistical\nunderpinnings, see Gu, Mulder, and Hoijtink (2018)\n<doi:10.1111/bmsp.12110>; Hoijtink, Gu, & Mulder, J. (2019)\n<doi:10.1111/bmsp.12145>; Hoijtink, Gu, Mulder, & Rosseel,\n(2019) <doi:10.31234/osf.io/q6h5w>.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "URL": "https://informative-hypotheses.sites.uu.nl/software/bain/",
  "BugReports": "https://github.com/cjvanlissa/bain/issues",
  "NeedsCompilation": "yes",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.1.0",
  "Packaged": {
    "Date": "2026-10-23 11:09:03 UTC",
    "User": "root"
  },
  "Author": "Xin Gu [aut], Herbert Hoijtink [aut], Joris Mulder [aut],\nCaspar J van Lissa [aut, cre], Van Zundert Camiel [ctb], Jeff\nJones [ctb], Niels Waller [ctb]",
  "Maintainer": "Caspar J van Lissa <c.j.vanlissa@tilburguniversity.edu>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-08-24 11:20:08 UTC",
  "RemoteUrl": "https://github.com/cran/bain",
  "RemoteRef": "HEAD",
  "RemoteSha": "f5e7964a38173c20993ca2c3e115ef62ba626e4b",
  "_user": "cran",
  "_type": "src",
  "_file": "bain_0.2.12.tar.gz",
  "_fileid": "https://r2.ropensci.org/a0eceb6f7528c810ef6a67edb7d45f96d2235e280f4a5d53b0fac2d98c4b3926",
  "_filesize": 720479,
  "_sha256": "a0eceb6f7528c810ef6a67edb7d45f96d2235e280f4a5d53b0fac2d98c4b3926",
  "_expires": "2027-01-31T11:17:04.000Z",
  "_created": "2026-10-23T11:09:03.000Z",
  "_published": "2026-10-23T11:17:06.922Z",
  "_upstream": "https://github.com/cran/bain",
  "_status": "success",
  "_maintainer": {
    "name": "Caspar J van Lissa",
    "email": "c.j.vanlissa@tilburguniversity.edu",
    "login": "cjvanlissa",
    "description": "Developmental datascientist, studying mothers' and fathers' unique roles in children's socio-emotional development.",
    "uuid": 11941251
  },
  "_jobs": [
    {
      "job": 120382400838,
      "time": 194,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12497945625"
    },
    {
      "job": 120382400712,
      "time": 234,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12496874280"
    },
    {
      "job": 120382400771,
      "time": 191,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12496469441"
    },
    {
      "job": 120382400896,
      "time": 242,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12497057841"
    },
    {
      "job": 120380890627,
      "time": 232,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12497436373"
    },
    {
      "job": 120382400847,
      "time": 91,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12496469172"
    },
    {
      "job": 120382400857,
      "time": 443,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12497492255"
    },
    {
      "job": 120382400778,
      "time": 307,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12496743745"
    },
    {
      "job": 120382400794,
      "time": 406,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "12498220200"
    },
    {
      "job": 120382400891,
      "time": 424,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12498075603"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/39943587408",
  "_commit": {
    "id": "f5e7964a38173c20993ca2c3e115ef62ba626e4b",
    "author": "Caspar J van Lissa <c.j.vanlissa@tilburguniversity.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2.12\n",
    "time": 1787570408
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.0.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Depends"
    },
    {
      "package": "lavaan",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 6,
  "_updates": [
    {
      "week": "2026-35",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.2.12",
      "date": "2026-08-24"
    }
  ],
  "_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": 3001,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bain"
  },
  "_devurl": "https://github.com/cjvanlissa/bain",
  "_searchresults": 134,
  "_topics": [
    "fortran"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/bain.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/cjvanlissa/bain",
  "_realowner": "cjvanlissa",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2019-02-06"
    },
    {
      "version": "0.2.1",
      "date": "2019-02-08"
    },
    {
      "version": "0.2.2",
      "date": "2019-09-26"
    },
    {
      "version": "0.2.3",
      "date": "2019-12-04"
    },
    {
      "version": "0.2.4",
      "date": "2020-03-09"
    },
    {
      "version": "0.2.6",
      "date": "2021-09-03"
    },
    {
      "version": "0.2.7",
      "date": "2021-11-26"
    },
    {
      "version": "0.2.8",
      "date": "2021-12-06"
    },
    {
      "version": "0.2.9",
      "date": "2023-09-06"
    },
    {
      "version": "0.2.10",
      "date": "2023-09-27"
    },
    {
      "version": "0.2.11",
      "date": "2024-06-14"
    },
    {
      "version": "0.2.12",
      "date": "2026-08-24"
    }
  ],
  "_exports": [
    "bain",
    "bain_sensitivity",
    "get_estimates",
    "pbf",
    "seBeta",
    "t_test"
  ],
  "_datasets": [
    {
      "name": "kuiper2013",
      "title": "The Effect of Prior Interaction on Trust",
      "object": "kuiper2013",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Study",
        "beta",
        "vi",
        "n"
      ],
      "rows": 4,
      "table": true,
      "tojson": true
    },
    {
      "name": "sesamesim",
      "title": "Simulated Sesame Street Data",
      "object": "sesamesim",
      "class": [
        "data.frame"
      ],
      "fields": [
        "sex",
        "site",
        "setting",
        "viewenc",
        "age",
        "peabody",
        "prenumb",
        "postnumb",
        "funumb",
        "Bb",
        "Bl",
        "Bf",
        "Bn",
        "Br",
        "Bc",
        "Ab",
        "Al",
        "Af",
        "An",
        "Ar",
        "Ac"
      ],
      "rows": 240,
      "table": true,
      "tojson": true
    },
    {
      "name": "synthetic_dk",
      "title": "Simulated data about morality and politics in Denmark",
      "object": "synthetic_dk",
      "class": [
        "data.frame"
      ],
      "fields": [
        "sepa_soc_1",
        "sepa_soc_2",
        "sepa_soc_3",
        "sepa_soc_4",
        "sepa_soc_5",
        "sepa_eco_1",
        "sepa_eco_2",
        "sepa_eco_3",
        "sepa_eco_4",
        "sepa_eco_5",
        "fam_1",
        "fam_2",
        "fam_3",
        "grp_1",
        "grp_2",
        "grp_3",
        "rec_1",
        "rec_2",
        "rec_3",
        "her_1",
        "her_2",
        "her_3",
        "def_1",
        "def_2",
        "def_3",
        "fai_1",
        "fai_2",
        "fai_3",
        "pro_1",
        "pro_2",
        "pro_3"
      ],
      "rows": 552,
      "table": true,
      "tojson": true
    },
    {
      "name": "synthetic_nl",
      "title": "Simulated data about morality and politics in The Netherlands",
      "object": "synthetic_nl",
      "class": [
        "data.frame"
      ],
      "fields": [
        "sepa_soc_1",
        "sepa_soc_2",
        "sepa_soc_3",
        "sepa_soc_4",
        "sepa_soc_5",
        "sepa_eco_1",
        "sepa_eco_2",
        "sepa_eco_3",
        "sepa_eco_4",
        "sepa_eco_5",
        "secs_soc_1",
        "secs_soc_2",
        "secs_soc_3",
        "secs_soc_4",
        "secs_soc_5",
        "secs_soc_6",
        "secs_soc_7",
        "fam_1",
        "fam_2",
        "fam_3",
        "grp_1",
        "grp_2",
        "grp_3",
        "rec_1",
        "rec_2",
        "rec_3",
        "her_1",
        "her_2",
        "her_3",
        "def_1",
        "def_2",
        "def_3",
        "fai_1",
        "fai_2",
        "fai_3",
        "pro_1",
        "pro_2",
        "pro_3"
      ],
      "rows": 401,
      "table": true,
      "tojson": true
    },
    {
      "name": "synthetic_us",
      "title": "Simulated data about morality and politics in the USA",
      "object": "synthetic_us",
      "class": [
        "data.frame"
      ],
      "fields": [
        "secs_soc_1",
        "secs_soc_2",
        "secs_soc_3",
        "secs_soc_4",
        "secs_soc_5",
        "secs_soc_6",
        "secs_soc_7",
        "secs_eco_1",
        "secs_eco_2",
        "secs_eco_3",
        "secs_eco_4",
        "secs_eco_5",
        "fam_1",
        "fam_2",
        "fam_3",
        "grp_1",
        "grp_2",
        "grp_3",
        "rec_1",
        "rec_2",
        "rec_3",
        "her_1",
        "her_2",
        "her_3",
        "def_1",
        "def_2",
        "def_3",
        "fai_1",
        "fai_2",
        "fai_3",
        "pro_1",
        "pro_2",
        "pro_3"
      ],
      "rows": 518,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "bain",
      "title": "Bayes factors for informative hypotheses",
      "topics": [
        "bain"
      ]
    },
    {
      "page": "bain_sensitivity",
      "title": "Sensitivity analysis for bain",
      "topics": [
        "bain_sensitivity"
      ]
    },
    {
      "page": "kuiper2013",
      "title": "The Effect of Prior Interaction on Trust",
      "topics": [
        "kuiper2013"
      ]
    },
    {
      "page": "pbf",
      "title": "Product Bayes Factor",
      "topics": [
        "pbf",
        "pbf.default",
        "pbf.numeric"
      ]
    },
    {
      "page": "seBeta",
      "title": "Standard Errors and CIs for Standardized Regression Coefficients",
      "topics": [
        "seBeta"
      ]
    },
    {
      "page": "sesamesim",
      "title": "Simulated Sesame Street Data",
      "topics": [
        "sesamesim"
      ]
    },
    {
      "page": "synthetic_dk",
      "title": "Simulated data about morality and politics in Denmark",
      "topics": [
        "synthetic_dk"
      ]
    },
    {
      "page": "synthetic_nl",
      "title": "Simulated data about morality and politics in The Netherlands",
      "topics": [
        "synthetic_nl"
      ]
    },
    {
      "page": "synthetic_us",
      "title": "Simulated data about morality and politics in the USA",
      "topics": [
        "synthetic_us"
      ]
    },
    {
      "page": "t_test",
      "title": "Student's t-test",
      "topics": [
        "t_test"
      ]
    }
  ],
  "_readme": "https://github.com/cran/bain/raw/HEAD/README.md",
  "_rundeps": [
    "lavaan",
    "MASS",
    "mnormt",
    "numDeriv",
    "pbivnorm",
    "quadprog"
  ],
  "_sysdeps": [
    {
      "shlib": "libgfortran",
      "package": "libgfortran5",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "fortran",
      "homepage": "http://gcc.gnu.org/",
      "description": "Runtime library for GNU Fortran applications"
    }
  ],
  "_vignettes": [
    {
      "source": "Introduction_to_bain.Rmd",
      "filename": "Introduction_to_bain.html",
      "title": "Introduction to bain",
      "author": "Herbert Hoijtink, Caspar van Lissa, Joris Mulder, Xin Gu",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Acknowledgment",
        "Introduction",
        "Usage",
        "Arguments",
        "Using bain with a lm or t_test object",
        "Using bain with a lavaan object",
        "Using bain with a named vector",
        "The specification of hypotheses",
        "Output from an analysis with bain",
        "Examples"
      ],
      "created": "2019-02-06 22:25:00",
      "modified": "2023-09-27 10:32:50",
      "commits": 8
    }
  ],
  "_score": 5.558613303228985,
  "_indexed": false,
  "_nocasepkg": "bain",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://cjvanlissa.r-universe.dev/bain",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.12",
      "date": "2026-10-23T11:10:40.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "f5e7964a38173c20993ca2c3e115ef62ba626e4b",
      "fileid": "https://r2.ropensci.org/d6c48ecce0c4402df490e5444b2a4cd7b302ef40509343fa999b25964cebde28",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39943587408"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.12",
      "date": "2026-10-23T11:11:04.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "f5e7964a38173c20993ca2c3e115ef62ba626e4b",
      "fileid": "https://r2.ropensci.org/9485432f1e8dae4827690920225fb7543b4a65dcc2a78daf174aaebc5fa72660",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39943587408"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.12",
      "date": "2026-10-23T11:10:41.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "f5e7964a38173c20993ca2c3e115ef62ba626e4b",
      "fileid": "https://r2.ropensci.org/42b9461f53389b4f99c4a7298f41d2ff68ce9dd5b00b35c2ba9f1cf547ab9fb9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39943587408"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.12",
      "date": "2026-10-23T11:10:53.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "f5e7964a38173c20993ca2c3e115ef62ba626e4b",
      "fileid": "https://r2.ropensci.org/d80572e0e055fb6b7826a7eb04a79628d29890a49884ef787ba4ad4f1a7e5a4a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39943587408"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.12",
      "date": "2026-10-23T11:10:50.000Z",
      "arch": "emscripten",
      "commit": "f5e7964a38173c20993ca2c3e115ef62ba626e4b",
      "fileid": "https://r2.ropensci.org/33e7beea7cb2742ca97e2b7f48d8b84e13dba21d372bca1963a1313d3f997bcc",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39943587408"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.12",
      "date": "2026-10-23T11:12:52.000Z",
      "arch": "aarch64",
      "commit": "f5e7964a38173c20993ca2c3e115ef62ba626e4b",
      "fileid": "https://r2.ropensci.org/ecb87e78939a3a403c0749a9c176daaf79f3bc280dfe023d7ebf9090cd6363e2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39943587408"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.12",
      "date": "2026-10-23T11:10:08.000Z",
      "arch": "x86_64",
      "commit": "f5e7964a38173c20993ca2c3e115ef62ba626e4b",
      "fileid": "https://r2.ropensci.org/3c273f3bd4a806ecfe98302dfd4b738107ae5e57e8f1933f5b6870f80339bf42",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39943587408"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.12",
      "date": "2026-10-23T11:12:19.000Z",
      "arch": "aarch64",
      "commit": "f5e7964a38173c20993ca2c3e115ef62ba626e4b",
      "fileid": "https://r2.ropensci.org/e63574bf929b035b35e88d449e654e71e73aaf82e92d9f85415088bb5b6d153a",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39943587408"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.12",
      "date": "2026-10-23T11:10:20.000Z",
      "arch": "x86_64",
      "commit": "f5e7964a38173c20993ca2c3e115ef62ba626e4b",
      "fileid": "https://r2.ropensci.org/57011915f3dcb86c7924cdc593a529294a5a9e6f83409f0658558e15b829d884",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39943587408"
    }
  ]
}