{
  "_id": "6a2d1e5f3efcd9bda42f56ac",
  "Package": "bain",
  "Type": "Package",
  "Title": "Bayes Factors for Informative Hypotheses",
  "Version": "0.2.11",
  "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/",
  "NeedsCompilation": "yes",
  "RoxygenNote": "7.3.1",
  "VignetteBuilder": "knitr",
  "Packaged": {
    "Date": "2026-06-13 09:04:22 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": "2024-06-13 02:42:31 UTC",
  "RemoteUrl": "https://github.com/cran/bain",
  "RemoteRef": "HEAD",
  "RemoteSha": "8e4db29070ed6d2d8a9b3901f260218add48420e",
  "MD5sum": "32c676fc800656c75c396cbf4f831da0",
  "_user": "cran",
  "_type": "src",
  "_file": "bain_0.2.11.tar.gz",
  "_fileid": "11172ba0a1036f9ab877470076339d738af5fcc1e9b2bdd2f6c17e1abc294039",
  "_filesize": 707461,
  "_sha256": "11172ba0a1036f9ab877470076339d738af5fcc1e9b2bdd2f6c17e1abc294039",
  "_created": "2026-06-13T09:04:22.000Z",
  "_published": "2026-06-13T09:09:51.436Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81178547085,
      "time": 217,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7609367481"
    },
    {
      "job": 81178547060,
      "time": 256,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7609372354"
    },
    {
      "job": 81178547074,
      "time": 217,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7609367560"
    },
    {
      "job": 81178547066,
      "time": 282,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7609376615"
    },
    {
      "job": 81178386291,
      "time": 164,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7609340031"
    },
    {
      "job": 81178547043,
      "time": 116,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7609354555"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27462339867",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/bain",
  "_commit": {
    "id": "8e4db29070ed6d2d8a9b3901f260218add48420e",
    "author": "Caspar J van Lissa <c.j.vanlissa@tilburguniversity.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2.11\n",
    "time": 1718246551
  },
  "_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
  },
  "_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": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "cjvanlissa",
      "count": 3,
      "uuid": 11941251
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 5038,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bain"
  },
  "_devurl": "https://github.com/cjvanlissa/bain",
  "_searchresults": 122,
  "_topics": [
    "fortran"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/bain.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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"
    }
  ],
  "_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": "14.2.0-4ubuntu2~24.04.1",
      "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.742860503276167,
  "_indexed": false,
  "_nocasepkg": "bain",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://cjvanlissa.r-universe.dev/bain",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.11",
      "date": "2026-06-13T09:06:29.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "8e4db29070ed6d2d8a9b3901f260218add48420e",
      "fileid": "3ba7e733579d2cf3882c366585ad5b4f093f26ed3f98f99d8f32f846bb446fb6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27462339867"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.11",
      "date": "2026-06-13T09:06:32.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "8e4db29070ed6d2d8a9b3901f260218add48420e",
      "fileid": "8673596f5852952c0aac104ada7d3c31cd992e37d908ce11a74a5be9ae51a3c2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27462339867"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.11",
      "date": "2026-06-13T09:06:29.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "8e4db29070ed6d2d8a9b3901f260218add48420e",
      "fileid": "a861a169be2f596098ab1bf0fb2c137ea812f86e70fd23c54534b0204f9911e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27462339867"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.11",
      "date": "2026-06-13T09:06:53.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "8e4db29070ed6d2d8a9b3901f260218add48420e",
      "fileid": "401241d01c441225acc7dda089f9ceb2dabc3739f1d8f177847af74ce8f8961f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27462339867"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.11",
      "date": "2026-06-13T09:06:37.000Z",
      "arch": "emscripten",
      "commit": "8e4db29070ed6d2d8a9b3901f260218add48420e",
      "fileid": "c2f0e1768cfe980d158e8353a89fbdc1ad4f415abfa8f1050d999f9045617c2b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27462339867"
    }
  ]
}