Skip to content

SOMbrero

SOM Bound to Realize Euclidean and Relational Outputs

v1.5.0 · Oct 6, 2025 · GPL (>= 2)

Description

The stochastic (also called on-line) version of the Self-Organising Map (SOM) algorithm is provided. Different versions of the algorithm are implemented, for numeric and relational data and for contingency tables as described, respectively, in Kohonen (2001) <isbn:3-540-67921-9>, Olteanu & Villa-Vialaneix (2005) <doi:10.1016/j.neucom.2013.11.047> and Cottrell et al (2004) <doi:10.1016/j.neunet.2004.07.010>. The package also contains many plotting features (to help the user interpret the results), can handle (and impute) missing values and is delivered with a graphical user interface based on 'shiny'.

Downloads

CRAN

487

Last 30 days

8382nd

1.2K

Last 90 days

6.7K

Last year

Trend: +30.6% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

24

Last 90 days

125

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

4

Last 7 days

12

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

conda-forge CRAN

120

Last 30 days

395

Last 90 days

2.5K

Last year

Trend: -49.4% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

5,822

Files

99

Compiled share

0%

Has compiled src

No

Language breakdown

R 3,986 (68.5%)Tests 312 (5.4%)Docs 1,446 (24.8%)Vignettes 78 (1.3%)

API

Exported functions

10

Internal functions

74

Recent export changes

v1.4.4+1 cutree

Testing & CI

Has tests

Yes

Test-to-code ratio

0.08

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

8.3%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.1.0

System requirements

C++ standard

License

GPL (>= 2)

License flags

SPDX valid, OSI approved

History

Versions

15

First release

2015-03-27

Latest release

2025-10-06

Avg cadence

263 days

Cold removal rate

Dep drift

12

LOC over versions

v1.0: 4,792 LOCv1.1: 4,856 LOCv1.2: 4,961 LOCv1.2-2: 5,016 LOCv1.2-3: 5,055 LOCv1.2-4: 5,096 LOCv1.2-5: 6,064 LOCv1.3: 6,497 LOCv1.3-1: 6,595 LOCv1.4: 7,009 LOCv1.4-1: 7,009 LOCv1.4-2: 5,701 LOCv1.4-3: 5,719 LOCv1.4.4: 5,773 LOCv1.5.0: 5,822 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies igraph markdown scatterplot3d shiny ggplot2 ggwordcloud metR interp rlang SOMbrero

Version History

16 tracked
new 1.5.0 Mar 10, 2026
updated 1.5.0 ← 1.4.4 diff Oct 5, 2025
updated 1.4.4 ← 1.4-3 diff Aug 17, 2025
updated 1.4-3 ← 1.4-2 diff Jun 18, 2025
updated 1.4-2 ← 1.4-1 diff Jan 24, 2024
updated 1.4-1 ← 1.4 diff Jan 2, 2022
updated 1.4 ← 1.3-1 diff Jan 2, 2022
updated 1.3-1 ← 1.3 diff Aug 10, 2020
updated 1.3 ← 1.2-5 diff Jun 7, 2020
updated 1.2-5 ← 1.2-4 diff Mar 4, 2020
updated 1.2-4 ← 1.2-3 diff Mar 6, 2019
updated 1.2-3 ← 1.2-2 diff Feb 4, 2018
updated 1.2-2 ← 1.2 diff Sep 19, 2017
updated 1.2 ← 1.1 diff Sep 1, 2016
updated 1.1 ← 1.0 diff Nov 3, 2015