TwoDiRef: Robust Estimation of Conditional 2D Reference Regions

Provides tools for constructing conditional two-dimensional reference regions in continuous data, particularly suited for clinical, biological, or epidemiological studies requiring robust multivariate assessment. The implemented methodology combines directional quantiles with median‑based partial correlation models to produce reliable and interpretable reference regions even in the presence of outliers. Key features include robust conditional modeling for two responses conditioned on covariates, directional quantile regions, cross‑validation of coverage, visualization tools, and flexible formula‑based inputs.

Version: 0.1.0
Depends: R (≥ 4.0.0)
Imports: qgam, mgcv, sp, ggplot2, scales, shiny
Suggests: refreg
Published: 2026-03-30
DOI: 10.32614/CRAN.package.TwoDiRef (may not be active yet)
Author: Oscar Lado-Baleato [aut, cre], Sara Rodriguez-Pastoriza [aut], Javier Roca-Pardinas [aut]
Maintainer: Oscar Lado-Baleato <ladooscar at uniovi.es>
License: GPL-3
NeedsCompilation: no
CRAN checks: TwoDiRef results

Documentation:

Reference manual: TwoDiRef.html , TwoDiRef.pdf

Downloads:

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

Linking:

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