hsquared: 'R' Interface for 'Julia'-Backed Quantitative-Genetic Models

Provides an interface for quantitative-genetic models in 'R', backed by the 'HSquared.jl' engine for 'Julia'. Fits Gaussian pedigree animal models by restricted maximum likelihood, using average-information restricted maximum likelihood (AI-REML; Gilmour et al. (1995) <doi:10.2307/2533274>) for the univariate model. Returns heritability, variance components, breeding values, and covariance and correlation matrices for multivariate models. Formula and pedigree validation can run without 'Julia'. Model fitting requires a local 'Julia' and 'HSquared.jl'; use hs_control(engine = "validate") to preview the model contract without fitting. What you may report is listed on the package article 'Can I fit and report this?', not in validation_status(), which is a developer evidence table. Model-specific restrictions are documented in that article. Uncertainty intervals are not coverage-calibrated.

Version: 0.9.0
Imports: ggplot2, lifecycle, Matrix, stats
Suggests: enhancer, JuliaCall, knitr, lme4, nadiv, pedigreemm, rmarkdown, sommer, testthat (≥ 3.0.0), withr
Published: 2026-10-21
DOI: 10.32614/CRAN.package.hsquared (may not be active yet)
Author: Shinichi Nakagawa ORCID iD [aut, cre, cph], Yefeng Yang ORCID iD [aut, cph], Szymon Drobniak ORCID iD [aut, cph]
Maintainer: Shinichi Nakagawa <itchyshin at gmail.com>
BugReports: https://github.com/itchyshin/hsquared/issues
License: MIT + file LICENSE
URL: https://itchyshin.github.io/hsquared/, https://github.com/itchyshin/hsquared, https://github.com/itchyshin/HSquared.jl
NeedsCompilation: no
Language: en-US
Citation: hsquared citation info
Materials: README, NEWS
CRAN checks: hsquared results

Documentation:

Reference manual: hsquared.html , hsquared.pdf
Vignettes: Getting started with hsquared (source, R code)

Downloads:

Package source: hsquared_0.9.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): hsquared_0.9.0.tgz, r-oldrel (arm64): hsquared_0.9.0.tgz, r-release (x86_64): hsquared_0.9.0.tgz, r-oldrel (x86_64): hsquared_0.9.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=hsquared to link to this page.