Skip to content

yaap

1.0.0

A Toolkit for Archetypal Analysis Methods

0packages depend
425downloads / year
86.1%test coverage
13/13checks pass

Overview

About
Maintained by Teo SakelFirst published 2026-06-081 releasesCRAN page ↗

Fits archetypal analysis models, including Euclidean, probabilistic, kernel, and directional variants. Methods include classical archetypal analysis from Cutler and Breiman (1994) doi:10.1080/00401706.1994.10485840, PCHA and kernel variants from Mørup and Hansen (2012) doi:10.1016/j.neucom.2011.06.033, probabilistic archetypal analysis from Seth and Eugster (2016) doi:10.1007/s10994-015-5498-8, directional archetypal analysis from Olsen et al. (2022) doi:10.3389/fnins.2022.911034, AA++ initialization from Mair and Sjölund (2023) doi:10.48550/arXiv.2301.13748, coreset-style initialization from Mair and Brefeld (2019) https://proceedings.neurips.cc/paper_files/paper/2019/file/7f278ad602c7f47aa76d1bfc90f20263-Paper.pdf, and adapted AIC from Suleman (2017) doi:10.1109/FUZZ-IEEE.2017.8015385. Provides initialization helpers, model selection paths, plotting methods, 'broom' methods, and a 'tidymodels' recipe step.

Install

Health

CRAN checks
13OK
Slowest check: 6.2 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.44
86.1%
Coverage · measured lines
100%
Documentation · exports
11
Dependencies · direct
Check history
  • OK2026-06-08
    8 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 488 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
97%
Return-value docs
100%
References docs
27%

Downloads

425
CRAN downloads in the past year
Rank #23,781 · ~1/day · ~35/mo
Daily download trend is not available in this view yet.
20630 days
42590 days
4251 year
Compare downloads with other packages →
Also on1 r2u9 autocran

Dependencies

Declared dependencies
22 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
Imports (11)
genericsgraphicsmethodsMatrixmatrixStatsnnlsrlangstatstibbleutilsvctrs
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 13,038 (70%)Vignettes 3,112 (17%)Rd 2,236 (12%)Other 111 (1%)
Code characteristics
Object systems
S351
Cyclomatic complexity
2.0 median / 31 max
Test cases
190 / 0.44 per code line

Test coverage

Line coverage

86%

Expression

83.9%

Tests / Examples

86.1% / – ex

Functions

261 22 exported

Complexity

4.1 avg / 31 max

Call network

261 nodes / 402 edges

Loading call graph…

Lowest coverage

261 functions
FunctionCycloCoverage
.aa_feature_map_transform.kernel_feature_map10%
.aa_feature_map_transform.unsupported_feature_map10%
.aa_kernel_kpca10%
.aa_pdist_manhattan30%
.aa_sym_eigen30%
AIC.kernel_archetypes10%

People & History

People (2)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (1)
Author, Maintainer, Copyright holder
Copyright holders (1)
Author, Maintainer, Copyright holder
Funders (1)
Funder
Package Timeline

1 release. R releases are shown for context.

  • 1.0.0Latest
    2026-06-08 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-06-08
Total releases
1 / 1 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.1.0
Download size
not tracked yet
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →