Package: ProbBreed
Title: Probability Theory for Selecting Candidates in Plant Breeding
Version: 1.0.4.9
Authors@R: c(person("Saulo", "Chaves", role = c("aut", "cre"),
                     email = "saulochaves@usp.br",
                     comment = c(ORCID = "0000-0002-0694-1798")),
              person("Kaio", "Dias", role = c("aut", "cph"),
                     email = "kaio.o.dias@ufv.br",
                     comment = c(ORCID = "0000-0002-9171-1021")),
              person("Matheus", "Krause", role = "aut",
                     email = "mdkrause@iastate.edu",
                     comment = c(ORCID = "0000-0003-2411-9287")))
Description: Use probability theory under the Bayesian framework for calculating the risk of selecting candidates in a multi-environment context. Contained are functions used to fit a Bayesian multi-environment model (based on the available presets), extract posterior values and maximum posterior values, compute the variance components, check the model’s convergence, and calculate the probabilities. For both across and within-environments scopes, the package computes the probability of superior performance and the pairwise probability of superior performance. Furthermore, the probability of superior stability and the pairwise probability of superior stability across environments is estimated. A joint probability of superior performance and stability is also provided. 
URL: https://github.com/saulo-chaves/ProbBreed,
        https://saulo-chaves.github.io/ProbBreed_site/,
        https://saulo-chaves.github.io/ProbBreed/
BugReports: https://github.com/saulo-chaves/ProbBreed/issues
License: AGPL (>= 3)
Depends: R (>= 3.5.0)
Imports: ggplot2, lifecycle, methods, Rcpp (>= 0.12.0), RcppParallel
        (>= 5.0.1), rlang, rstan (>= 2.32.0), rstantools (>= 2.4.0),
        stats, utils
LinkingTo: StanHeaders (>= 2.32.0), rstan (>= 2.32.0), BH (>=
        1.72.0-2), Rcpp (>= 0.12.0), RcppEigen (>= 0.3.3.3.0),
        RcppParallel (>= 5.0.1)
Suggests: knitr, rmarkdown
Encoding: UTF-8
UseLTO: true
NeedsCompilation: yes
RoxygenNote: 7.3.3
LazyData: true
Biarch: true
SystemRequirements: GNU make
Packaged: 2025-12-15 14:52:08 UTC; saulo
Author: Saulo Chaves [aut, cre] (ORCID:
    <https://orcid.org/0000-0002-0694-1798>),
  Kaio Dias [aut, cph] (ORCID: <https://orcid.org/0000-0002-9171-1021>),
  Matheus Krause [aut] (ORCID: <https://orcid.org/0000-0003-2411-9287>)
Maintainer: Saulo Chaves <saulochaves@usp.br>
Repository: CRAN
Date/Publication: 2025-12-15 20:10:23 UTC
Built: R 4.4.3; x86_64-w64-mingw32; 2026-03-27 22:02:28 UTC; windows
Archs: x64
