A Hierarchical Spatial Autoregressive Model (HSAR), based on a Bayesian Markov Chain Monte Carlo (MCMC) algorithm (Dong and Harris (2014) <doi:10.1111/gean.12049>). The creation of this package was supported by the Economic and Social Research Council (ESRC) through the Applied Quantitative Methods Network: Phase II, grant number ES/K006460/1.

Functions, data sets, analyses and examples from the book 
  ''A Handbook of Statistical Analyses Using R'' (Brian S. Everitt and Torsten
  Hothorn, Chapman & Hall/CRC, 2006). The first chapter
  of the book, which is entitled ''An Introduction to R'', 
  is completely included in this package, for all other chapters,
  a vignette containing all data analyses is available.

Functions, data sets, analyses and examples from the 
  second edition of the book 
  ''A Handbook of Statistical Analyses Using R'' (Brian S. Everitt and Torsten
  Hothorn, Chapman & Hall/CRC, 2008). The first chapter
  of the book, which is entitled ''An Introduction to R'', 
  is completely included in this package, for all other chapters,
  a vignette containing all data analyses is available. In addition,
  the package contains Sweave code for producing slides for selected
  chapters (see HSAUR2/inst/slides).

Functions, data sets, analyses and examples from the 
  third edition of the book 
  ''A Handbook of Statistical Analyses Using R'' (Torsten Hothorn and Brian S.
  Everitt, Chapman & Hall/CRC, 2014). The first chapter
  of the book, which is entitled ''An Introduction to R'', 
  is completely included in this package, for all other chapters,
  a vignette containing all data analyses is available. In addition,
  Sweave source code for slides of selected chapters is included in 
  this package (see HSAUR3/inst/slides). The publishers web page is 
  '<https://www.routledge.com/A-Handbook-of-Statistical-Analyses-using-R/Hothorn-Everitt/p/book/9781482204582>'.

The theoretical covariance between pairs of markers is calculated
    from either paternal haplotypes and maternal linkage disequilibrium (LD) or 
    vise versa. A genetic map is required. Grouping of markers is based on the 
    correlation matrix and a representative marker is suggested for each group.
    Employing the correlation matrix, optimal sample size can be derived for 
    association studies based on a SNP-BLUP approach.
    The implementation relies on paternal half-sib families and biallelic 
    markers. If maternal half-sib families are used, the roles of sire/dam are 
    swapped. Multiple families can be considered.
    Wittenburg, Bonk, Doschoris, Reyer (2020) "Design of Experiments for 
    Fine-Mapping Quantitative Trait Loci in Livestock Populations" 
    <doi:10.1186/s12863-020-00871-1>.
    Carlson, Eberle, Rieder, Yi, Kruglyak, Nickerson (2004) "Selecting a 
    maximally informative set of single-nucleotide polymorphisms for association
    analyses using linkage disequilibrium" <doi:10.1086/381000>.