Inference concerning equilibrium and random mating in 
    autopolyploids. Methods are available to test for equilibrium 
    and random mating at any even ploidy level (>2) in the presence
    of double reduction at biallelic loci. For autopolyploid populations
    in equilibrium, methods are available to estimate the degree of 
    double reduction. We also provide functions to calculate genotype 
    frequencies at equilibrium, or after one or several rounds of 
    random mating, given rates of double reduction. The main function is
    hwefit(). This material is based upon work supported by the
    National Science Foundation under Grant No. 2132247. The opinions,
    findings, and conclusions or recommendations expressed are those of
    the author and do not necessarily reflect the views of the National
    Science Foundation. For details of these methods, see 
    Gerard (2023a) <doi:10.1111/biom.13722> and
    Gerard (2023b) <doi:10.1111/1755-0998.13856>.
| Version: | 2.0.3 | 
| Depends: | R (≥ 3.4.0) | 
| Imports: | bridgesampling, doFuture, doRNG, foreach, future, iterators, methods, pracma, Rcpp (≥ 0.12.0), RcppParallel (≥ 5.0.1), rstan (≥ 2.18.1), rstantools (≥ 2.2.0), tensr, updog | 
| LinkingTo: | BH (≥ 1.66.0), Rcpp (≥ 0.12.0), RcppEigen (≥ 0.3.3.3.0), RcppParallel (≥ 5.0.1), rstan (≥ 2.18.1), StanHeaders (≥
2.18.0) | 
| Suggests: | testthat (≥ 3.0.0), covr, knitr, rmarkdown, ggplot2 | 
| Published: | 2025-07-23 | 
| DOI: | 10.32614/CRAN.package.hwep | 
| Author: | David Gerard  [aut, cre],
  NSF DBI 2132247 [fnd]
    (https://www.nsf.gov/awardsearch/showAward?AWD_ID=2132247) | 
| Maintainer: | David Gerard  <gerard.1787 at gmail.com> | 
| BugReports: | https://github.com/dcgerard/hwep/issues | 
| License: | GPL (≥ 3) | 
| URL: | https://dcgerard.github.io/hwep/ | 
| NeedsCompilation: | yes | 
| SystemRequirements: | GNU make | 
| Citation: | hwep citation info | 
| Materials: | README, NEWS | 
| CRAN checks: | hwep results |