Package: ProbBreed
Title: Probability Theory for Selecting Candidates in Plant Breeding
Version: 1.0.4.6
Authors@R: c(person("Saulo", "Chaves", role = c("aut", "cre"),
                     email = "saulo.chaves@ufv.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.2
LazyData: true
Biarch: true
SystemRequirements: GNU make
Packaged: 2025-03-17 21:18:52 UTC; Agroe
Author: Saulo Chaves [aut, cre] (<https://orcid.org/0000-0002-0694-1798>),
  Kaio Dias [aut, cph] (<https://orcid.org/0000-0002-9171-1021>),
  Matheus Krause [aut] (<https://orcid.org/0000-0003-2411-9287>)
Maintainer: Saulo Chaves <saulo.chaves@ufv.br>
Repository: CRAN
Date/Publication: 2025-03-17 22:10:04 UTC
Built: R 4.5.2; x86_64-w64-mingw32; 2025-11-08 04:36:45 UTC; windows
Archs: x64
