{
  "_id": "6a33bb303efcd9bda43afac5",
  "Package": "BEND",
  "Title": "Bayesian Estimation of Nonlinear Data (BEND)",
  "Version": "2.0.1",
  "Authors@R": "c(\nperson(\"Corissa T.\", \"Rohloff\", email = \"corissa.wurth@gmail.com\", role = c(\"aut\",\"cre\"), comment = c(ORCID = \"0000-0003-3228-4653\")),\nperson(\"Rik\", \"Lamm\", email = \"rzlamm@gmail.com\", role = \"aut\", comment = c(ORCID = \"0000-0002-3317-6243\")),\nperson(\"Yadira\", \"Peralta\", email = \"yadira.peralta@cide.edu\", role = \"aut\", comment = c(ORCID = \"0000-0003-4823-6939\")),\nperson(\"Nidhi\", \"Kohli\", email = \"nkohli@umn.edu\", role = \"aut\", comment = c(ORCID = \"0000-0003-4690-2854\")),\nperson(\"Eric F.\", \"Lock\", email = \"elock@umn.edu\", role = \"aut\", comment = c(ORCID = \"0000-0003-4663-2356\")))",
  "Description": "Provides a set of models to estimate nonlinear\nlongitudinal data using Bayesian estimation methods. These\nmodels include the: 1) Bayesian Piecewise Random Effects Model\n(Bayes_PREM()) which estimates a piecewise random effects\n(mixture) model for a given number of latent classes and a\nlatent number of possible changepoints in each class, and can\nincorporate class and outcome predictive covariates (see Lamm\n(2022) <https://hdl.handle.net/11299/252533> and Lock et al.,\n(2018) <doi:10.1007/s11336-017-9594-5>), 2) Bayesian Crossed\nRandom Effects Model (Bayes_CREM()) which estimates a linear,\nquadratic, exponential, or piecewise crossed random effects\nmodels where individuals are changing groups over time (e.g.,\nstudents and schools; see Rohloff et al., (2024)\n<doi:10.1111/bmsp.12334>), and 3) Bayesian Bivariate Piecewise\nRandom Effects Model (Bayes_BPREM()) which estimates a\nbivariate piecewise random effects model to jointly model two\nrelated outcomes (e.g., reading and math achievement; see\nPeralta et al., (2022) <doi:10.1037/met0000358>).",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "URL": "https://github.com/crohlo/BEND",
  "BugReports": "https://github.com/crohlo/BEND/issues",
  "LazyData": "true",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-18 09:30:15 UTC",
    "User": "root"
  },
  "Author": "Corissa T. Rohloff [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-3228-4653>), Rik Lamm [aut]\n(ORCID: <https://orcid.org/0000-0002-3317-6243>), Yadira\nPeralta [aut] (ORCID: <https://orcid.org/0000-0003-4823-6939>),\nNidhi Kohli [aut] (ORCID:\n<https://orcid.org/0000-0003-4690-2854>), Eric F. Lock [aut]\n(ORCID: <https://orcid.org/0000-0003-4663-2356>)",
  "Maintainer": "Corissa T. Rohloff <corissa.wurth@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-04-19 06:10:47 UTC",
  "RemoteUrl": "https://github.com/cran/BEND",
  "RemoteRef": "HEAD",
  "RemoteSha": "3189554fa957086305cb10dfe4866b3046501da9",
  "MD5sum": "c601c215f4530023859548d8ac94104e",
  "_user": "cran",
  "_type": "src",
  "_file": "BEND_2.0.1.tar.gz",
  "_fileid": "44041e88c86f85ba54ee4832dbdfb1e8cd99aacbd7303fb7c22d099cf9596333",
  "_filesize": 285590,
  "_sha256": "44041e88c86f85ba54ee4832dbdfb1e8cd99aacbd7303fb7c22d099cf9596333",
  "_created": "2026-06-18T09:30:15.000Z",
  "_published": "2026-06-18T09:32:32.388Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82098383493,
      "time": 105,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7719493431"
    },
    {
      "job": 82098383518,
      "time": 100,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7719491487"
    },
    {
      "job": 82097898400,
      "time": 152,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7719452254"
    },
    {
      "job": 82098383445,
      "time": 105,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7719493029"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27750009311",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/BEND",
  "_commit": {
    "id": "3189554fa957086305cb10dfe4866b3046501da9",
    "author": "Corissa T. Rohloff <corissa.wurth@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 2.0.1\n",
    "time": 1776579047
  },
  "_maintainer": {
    "name": "Corissa T. Rohloff",
    "email": "corissa.wurth@gmail.com",
    "login": "crohlo",
    "description": "",
    "uuid": 57638781,
    "orcid": "0000-0003-3228-4653"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.3",
      "role": "Depends"
    },
    {
      "package": "coda",
      "version": ">= 0.19.4.1",
      "role": "Imports"
    },
    {
      "package": "label.switching",
      "version": ">= 1.8",
      "role": "Imports"
    },
    {
      "package": "rjags",
      "version": ">= 4.17",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-39",
      "n": 1
    },
    {
      "week": "2026-14",
      "n": 1
    },
    {
      "week": "2026-16",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.1",
      "date": "2025-09-24"
    },
    {
      "name": "2.0.0",
      "date": "2026-03-31"
    },
    {
      "name": "2.0.1",
      "date": "2026-04-19"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "crohlo",
      "count": 4,
      "uuid": 57638781
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 609,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 481,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BEND"
  },
  "_devurl": "https://github.com/crohlo/bend",
  "_searchresults": 0,
  "_topics": [
    "jags",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/BEND.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/crohlo/bend",
  "_realowner": "crohlo",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2024-03-23"
    },
    {
      "version": "1.1",
      "date": "2025-09-24"
    },
    {
      "version": "2.0.0",
      "date": "2026-03-31"
    },
    {
      "version": "2.0.1",
      "date": "2026-04-19"
    }
  ],
  "_exports": [
    "Bayes_BPREM",
    "Bayes_CREM",
    "Bayes_PREM",
    "getClassProb",
    "getCoef",
    "getFitted",
    "getFixEf",
    "getKProb",
    "getModelFit",
    "getRanEf",
    "getVarCov",
    "plot_BEND"
  ],
  "_datasets": [
    {
      "name": "results_bprem",
      "title": "Fitted results for a BPREM",
      "object": "results_bprem",
      "class": [
        "BPREM"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "results_pcrem",
      "title": "Fitted results for a PCREM",
      "object": "results_pcrem",
      "class": [
        "CREM"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "results_prem",
      "title": "Fitted results for a PREM",
      "object": "results_prem",
      "class": [
        "PREM"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "SimData_BPREM",
      "title": "Simulated data for a BPREM",
      "object": "SimData_BPREM",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "time",
        "y1",
        "y2"
      ],
      "rows": 210,
      "table": true,
      "tojson": true
    },
    {
      "name": "SimData_PCREM",
      "title": "Simulated data for a PCREM",
      "object": "SimData_PCREM",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "teacherid",
        "time",
        "y"
      ],
      "rows": 210,
      "table": true,
      "tojson": true
    },
    {
      "name": "SimData_PREM",
      "title": "Simulated data for a PREM + Extensions",
      "object": "SimData_PREM",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "time",
        "y",
        "class_pred_1",
        "class_pred_2",
        "outcome_pred_1"
      ],
      "rows": 540,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "Bayes_BPREM",
      "title": "Bayesian Bivariate Piecewise Random Effects Model (BPREM)",
      "topics": [
        "Bayes_BPREM"
      ]
    },
    {
      "page": "Bayes_CREM",
      "title": "Bayesian Crossed Random Effects Model (CREM)",
      "topics": [
        "Bayes_CREM"
      ]
    },
    {
      "page": "Bayes_PREM",
      "title": "Bayesian Piecewise Random Effects Model (PREM) + Extensions",
      "topics": [
        "Bayes_PREM"
      ]
    },
    {
      "page": "getClassProb",
      "title": "Extract class probabilities",
      "topics": [
        "getClassProb",
        "getClassProb.PREM",
        "print.getClassProb.PREM"
      ]
    },
    {
      "page": "getCoef",
      "title": "Extract random coefficients",
      "topics": [
        "getCoef",
        "getCoef.BPREM",
        "getCoef.CREM",
        "getCoef.PREM",
        "print.getCoef"
      ]
    },
    {
      "page": "getFitted",
      "title": "Extract fitted values",
      "topics": [
        "getFitted",
        "getFitted.BPREM",
        "getFitted.CREM",
        "getFitted.PREM",
        "print.getFitted"
      ]
    },
    {
      "page": "getFixEf",
      "title": "Extract fixed effects parameter estimates",
      "topics": [
        "getFixEf",
        "getFixEf.BPREM",
        "getFixEf.CREM",
        "getFixEf.PREM",
        "print.getFixEf"
      ]
    },
    {
      "page": "getKProb",
      "title": "Extract changepoint probabilities",
      "topics": [
        "getKProb",
        "getKProb.PREM",
        "print.getKProb.PREM"
      ]
    },
    {
      "page": "getModelFit",
      "title": "Extract model fit",
      "topics": [
        "getModelFit",
        "getModelFit.BPREM",
        "getModelFit.CREM",
        "getModelFit.PREM",
        "print.getModelFit"
      ]
    },
    {
      "page": "getRanEf",
      "title": "Extract random effects",
      "topics": [
        "getRanEf",
        "getRanEf.BPREM",
        "getRanEf.CREM",
        "print.getRanEf"
      ]
    },
    {
      "page": "getVarCov",
      "title": "Extract random effects variance-covariance matrix",
      "topics": [
        "getVarCov",
        "getVarCov.BPREM",
        "getVarCov.CREM",
        "getVarCov.PREM",
        "print.getVarCov.BPREM",
        "print.getVarCov.CREM",
        "print.getVarCov.PREM"
      ]
    },
    {
      "page": "plot_BEND",
      "title": "Plot a BEND Model (PREM, CREM, BPREM)",
      "topics": [
        "plot_BEND"
      ]
    },
    {
      "page": "plot.BPREM",
      "title": "Plot the results of a bivariate piecewise random effects model (BPREM)",
      "topics": [
        "plot.BPREM"
      ]
    },
    {
      "page": "plot.CREM",
      "title": "Plot the results of a crossed random effects model (CREM)",
      "topics": [
        "plot.CREM"
      ]
    },
    {
      "page": "plot.PREM",
      "title": "Plot the results of a piecewise random effects model (PREM)",
      "topics": [
        "plot.PREM"
      ]
    },
    {
      "page": "print.BPREM",
      "title": "Print the results of a bivariate piecewise random effects model (BPREM)",
      "topics": [
        "print.BPREM"
      ]
    },
    {
      "page": "print.CREM",
      "title": "Print the results of a crossed random effects model (CREM)",
      "topics": [
        "print.CREM"
      ]
    },
    {
      "page": "print.PREM",
      "title": "Print the results of a piecewise random effects model (PREM)",
      "topics": [
        "print.PREM"
      ]
    },
    {
      "page": "results_bprem",
      "title": "Fitted results for a BPREM",
      "topics": [
        "results_bprem"
      ]
    },
    {
      "page": "results_pcrem",
      "title": "Fitted results for a PCREM",
      "topics": [
        "results_pcrem"
      ]
    },
    {
      "page": "results_prem",
      "title": "Fitted results for a PREM",
      "topics": [
        "results_prem"
      ]
    },
    {
      "page": "SimData_BPREM",
      "title": "Simulated data for a BPREM",
      "topics": [
        "SimData_BPREM"
      ]
    },
    {
      "page": "SimData_PCREM",
      "title": "Simulated data for a PCREM",
      "topics": [
        "SimData_PCREM"
      ]
    },
    {
      "page": "SimData_PREM",
      "title": "Simulated data for a PREM + Extensions",
      "topics": [
        "SimData_PREM"
      ]
    },
    {
      "page": "summary.BPREM",
      "title": "Summarize the results of a bivariate piecewise random effects model (BPREM)",
      "topics": [
        "print.summary.BPREM",
        "summary.BPREM"
      ]
    },
    {
      "page": "summary.CREM",
      "title": "Summarize the results of a crossed random effects model (CREM)",
      "topics": [
        "print.summary.CREM",
        "summary.CREM"
      ]
    },
    {
      "page": "summary.PREM",
      "title": "Summarize the results of a piecewise random effects model (PREM)",
      "topics": [
        "print.summary.PREM",
        "summary.PREM"
      ]
    }
  ],
  "_readme": "https://github.com/cran/BEND/raw/HEAD/README.md",
  "_rundeps": [
    "coda",
    "combinat",
    "label.switching",
    "lattice",
    "lpSolve",
    "rjags"
  ],
  "_sysdeps": [
    {
      "shlib": "libjags",
      "package": "jags",
      "headers": "jags",
      "source": "jags",
      "version": "4.3.2-2.2404.0",
      "name": "jags",
      "homepage": "https://mcmc-jags.sourceforge.io",
      "description": "Just Another Gibbs Sampler for Bayesian MCMC - binary"
    },
    {
      "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"
    }
  ],
  "_score": 2.1760912590556813,
  "_indexed": false,
  "_nocasepkg": "bend",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://crohlo.r-universe.dev/BEND",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.1",
      "date": "2026-06-18T09:32:04.000Z",
      "distro": "noble",
      "commit": "3189554fa957086305cb10dfe4866b3046501da9",
      "fileid": "bee08eea64086ffcc5095116fde80127f7e748075c16edcaa5bf846408880216",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27750009311"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0.1",
      "date": "2026-06-18T09:32:00.000Z",
      "distro": "noble",
      "commit": "3189554fa957086305cb10dfe4866b3046501da9",
      "fileid": "614e944e1a81d2c0a2d9c0e6e079c389f3b878496291f3bd6abee114a406a953",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27750009311"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.1",
      "date": "2026-06-18T09:32:18.000Z",
      "commit": "3189554fa957086305cb10dfe4866b3046501da9",
      "fileid": "76d3c53aa8159c2e43ba396b4cbd6bacbf106af648131287bf68b37411a4e970",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27750009311"
    }
  ]
}