{
  "_id": "6a6321dcd3420cf5dfdb7898",
  "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",
  "Repository": "https://cjvanlissa.r-universe.dev",
  "Date/Publication": "2024-06-12 11:05:56 UTC",
  "RemoteUrl": "https://github.com/cjvanlissa/bain",
  "RemoteRef": "HEAD",
  "RemoteSha": "6c4eeaada156c4a7809ad2131537a0003fb231fd",
  "Packaged": {
    "Date": "2026-07-24 07:04:02 UTC",
    "User": "root"
  },
  "Author": "Xin Gu [aut],\nHerbert Hoijtink [aut],\nJoris Mulder [aut],\nCaspar J van Lissa [aut, cre],\nVan Zundert Camiel [ctb],\nJeff Jones [ctb],\nNiels Waller [ctb]",
  "Maintainer": "Caspar J van Lissa <c.j.vanlissa@tilburguniversity.edu>",
  "_user": "cjvanlissa",
  "_type": "src",
  "_file": "bain_0.2.11.tar.gz",
  "_fileid": "https://r2.ropensci.org/49f9c1ec77054ca31e1420b229bee0bd669fd265a583af34a365159a668f3713",
  "_filesize": 701963,
  "_sha256": "49f9c1ec77054ca31e1420b229bee0bd669fd265a583af34a365159a668f3713",
  "_expires": "2026-11-01T08:27:06.000Z",
  "_created": "2026-07-24T07:04:02.000Z",
  "_published": "2026-07-24T08:27:08.325Z",
  "_jobs": [
    {
      "job": 89421430869,
      "time": 212,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8589281386"
    },
    {
      "job": 89421430839,
      "time": 270,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8589301420"
    },
    {
      "job": 89421430836,
      "time": 217,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8589282191"
    },
    {
      "job": 89421430781,
      "time": 256,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8589296343"
    },
    {
      "job": 89421430785,
      "time": 261,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8590887534"
    },
    {
      "job": 89421430774,
      "time": 486,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8590982419"
    },
    {
      "job": 89421430770,
      "time": 181,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8590817607"
    },
    {
      "job": 89421430765,
      "time": 278,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8590825824"
    },
    {
      "job": 89420899007,
      "time": 181,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8589204461"
    },
    {
      "job": 89421430695,
      "time": 107,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8589242949"
    },
    {
      "job": 89421430784,
      "time": 379,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8589339660"
    },
    {
      "job": 89421430787,
      "time": 366,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8589336278"
    },
    {
      "job": 89421430814,
      "time": 354,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8589331140"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/30074041883",
  "_status": "success",
  "_upstream": "https://github.com/cjvanlissa/bain",
  "_commit": {
    "id": "6c4eeaada156c4a7809ad2131537a0003fb231fd",
    "author": "cjvanlissa <c.j.vanlissa@tilburguniversity.edu>",
    "committer": "cjvanlissa <c.j.vanlissa@tilburguniversity.edu>",
    "message": "add rhub\n",
    "time": 1718190356
  },
  "_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
  },
  "_distro": "resolute",
  "_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": "cjvanlissa",
  "_selfowned": true,
  "_usedby": 6,
  "_updates": [],
  "_tags": [],
  "_stars": 9,
  "_contributors": [
    {
      "user": "herberthoijtink",
      "count": 50,
      "uuid": 44405673
    },
    {
      "user": "cjvanlissa",
      "count": 30,
      "uuid": 11941251
    },
    {
      "user": "cvzundert",
      "count": 3,
      "uuid": 33832983
    },
    {
      "user": "xingu123",
      "count": 1,
      "uuid": 39527992
    }
  ],
  "_userbio": {
    "uuid": 11941251,
    "type": "user",
    "name": "C. J. van Lissa",
    "followers": 127,
    "description": "Developmental datascientist, studying mothers' and fathers' unique roles in children's socio-emotional development."
  },
  "_downloads": {
    "count": 2204,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bain"
  },
  "_devurl": "https://github.com/cjvanlissa/bain",
  "_searchresults": 123,
  "_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/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/cjvanlissa/bain",
  "_realowner": "cjvanlissa",
  "_cranurl": true,
  "_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/cjvanlissa/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-01-14 18:56:53",
      "modified": "2023-09-26 08:16:34",
      "commits": 20
    }
  ],
  "_score": 7.818722975217458,
  "_indexed": true,
  "_nocasepkg": "bain",
  "_universes": [
    "cjvanlissa"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.11",
      "date": "2026-07-24T07:06:01.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "6c4eeaada156c4a7809ad2131537a0003fb231fd",
      "fileid": "https://r2.ropensci.org/55a811276739456e8b882f6810699a7afc1cb029819e7085bf8b733b68813ccc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/30074041883"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.11",
      "date": "2026-07-24T07:06:11.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "6c4eeaada156c4a7809ad2131537a0003fb231fd",
      "fileid": "https://r2.ropensci.org/9c021c970719ffe84fd0f2a2254a6a7ffd3b8daf06ca62b9883d6d24aa7c798f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/30074041883"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.11",
      "date": "2026-07-24T07:06:01.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "6c4eeaada156c4a7809ad2131537a0003fb231fd",
      "fileid": "https://r2.ropensci.org/bdffc418f20925f8d6dae12626705e64d76e46f2c12022696c559eed8cfb7297",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/30074041883"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.11",
      "date": "2026-07-24T07:06:09.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "6c4eeaada156c4a7809ad2131537a0003fb231fd",
      "fileid": "https://r2.ropensci.org/689b6000ea5e7bbf3f161a136c1ebbacc49db4d1ac8deeea91f2c1eb0d0fa1c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/30074041883"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.11",
      "date": "2026-07-24T08:19:53.000Z",
      "arch": "aarch64",
      "commit": "6c4eeaada156c4a7809ad2131537a0003fb231fd",
      "fileid": "https://r2.ropensci.org/c8b6c38de0d76e2fde439dda05798087a859b00b2c0bab43be1092e1382654f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/30074041883"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.11",
      "date": "2026-07-24T08:22:33.000Z",
      "arch": "x86_64",
      "commit": "6c4eeaada156c4a7809ad2131537a0003fb231fd",
      "fileid": "https://r2.ropensci.org/90f7029a270731f1303a985c89e3cc8fb5acb3c7f8b9da6af884582a38f17974",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/30074041883"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.11",
      "date": "2026-07-24T08:17:25.000Z",
      "arch": "aarch64",
      "commit": "6c4eeaada156c4a7809ad2131537a0003fb231fd",
      "fileid": "https://r2.ropensci.org/ba8eb7640bc34aaecc5344d28b00db8a9736c54ca80ddbf5765906d6ac658668",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/30074041883"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.11",
      "date": "2026-07-24T08:17:07.000Z",
      "arch": "x86_64",
      "commit": "6c4eeaada156c4a7809ad2131537a0003fb231fd",
      "fileid": "https://r2.ropensci.org/8ac007671d54081390ad09dd05906d3db1ad161bcae2f9c72b016dc8d42037b2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/30074041883"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.11",
      "date": "2026-07-24T07:06:06.000Z",
      "arch": "emscripten",
      "commit": "6c4eeaada156c4a7809ad2131537a0003fb231fd",
      "fileid": "https://r2.ropensci.org/0dee15ebd2ebe8a76482be94d66c49f0ad27ecccc056ed01ec0846d188492dea",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/30074041883"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.11",
      "date": "2026-07-24T07:05:18.000Z",
      "arch": "x86_64",
      "commit": "6c4eeaada156c4a7809ad2131537a0003fb231fd",
      "fileid": "https://r2.ropensci.org/75421cd863e3ecb09e7f19fccca1112420fc7fb2339efe64e9be95d58a260d25",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/30074041883"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.11",
      "date": "2026-07-24T07:05:31.000Z",
      "arch": "x86_64",
      "commit": "6c4eeaada156c4a7809ad2131537a0003fb231fd",
      "fileid": "https://r2.ropensci.org/d194a12b05532d925e40a317d3e11112e0113b8a6c0d3ae9bb251d5a041ffd1a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/30074041883"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.11",
      "date": "2026-07-24T07:05:17.000Z",
      "arch": "x86_64",
      "commit": "6c4eeaada156c4a7809ad2131537a0003fb231fd",
      "fileid": "https://r2.ropensci.org/0cd048558212d792571816ff8a383cd7de6d02d75f8333683b080d400301421b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cjvanlissa/actions/runs/30074041883"
    }
  ]
}