R Observatory
Search
install.packages("SOMbrero")
CRAN 30-day downloads, method
478+8.9% up on the 30 days before, the better direction
Test coverage, method
42%of lines run by tests

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 & ...

Full 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'.

Maintainer
Nathalie Vialaneix
Licence
GPL (>= 2)
Latest release
6 Oct 2025
First release
28 Mar 2015

Compare with another package

More details
Releases
15
Needs compilation
No
Needs R
>= 3.1.0
Date
2025-10-06
Language
en-US
RoxygenNote
7.3.2
Task views (1)
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("SOMbrero")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA
Balamuta, J. J. (2026). R Observatory: Metrics for SOMbrero version 1.5.0 [Data set]. HJJB, LLC. Data release v2026-10-29. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-29, which the citation names so these numbers can be found later.

All 13 check platforms pass.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    1.5.0
    Time taken
    125 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    1.5.0
    Time taken
    90 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    1.5.0
    Time taken
    84 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    1.5.0
    Time taken
    88 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    1.5.0
    Time taken
    139 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    1.5.0
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    1.5.0
    Time taken
    122 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    1.5.0
    Time taken
    162 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    1.5.0
    Time taken
    119 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    1.5.0
    Time taken
    118 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    1.5.0
    Time taken
    34 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    1.5.0
    Time taken
    153 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    1.5.0
    Time taken
    139 s
  • 13 OK

Over time

No change since 8 Sep 2026

As a list (5)
ChangedWorst statusOKNotesWarningsErrors
8 Sep 2026OK13000
7 Sep 2026Error12001
5 Aug 2026OK13000
1 Aug 2026Note12100
10 Mar 2026OK14000

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
727+28.2% up on the 30 days before, the better directionIt is the sum of 5 channels: CRAN, r2u, autoCRAN, conda-forge and c2d4u.

CRAN rank

6,621 of 26,553

CRAN

478 downloads in the last 30 days

Rank
6,621 of 26,553
Change
+8.9% up on the 30 days before, the better direction

It is in the total. Take it out

r2u

3 downloads in the last 30 days

Rank
11,992 of 30,526
Change
−62.5% down on the 30 days before, the worse direction

It is in the total. Take it out

autoCRAN

5 downloads in the last 30 days

Rank
11,553 of 29,233
Change
−58.3% down on the 30 days before, the worse direction

It is in the total. Take it out

conda-forge

238 downloads in the last 30 days

Rank
2,271 of 3,828
Change
+138% up on the 30 days before, the better direction

It is in the total. Take it out

c2d4u, no longer updated

3 downloads in the last 30 days

Rank
4,165 of 7,575
Change
−62.5% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
12
Dependent packages
0
Suggested by
0
Needs (12)
Installing it adds
79 packages, 87.6 MB of source
Of those, need compilation
50
Optional extras (9)
Functions
84
Public exports
10
Lines of R code
3,986
Median complexity
2
Functions (84)
Size and composition

Lines by kind (5,822)

KindLinesShare
R code3,98668%
Tests3125%
Documentation1,44625%
Guides781%

Lines by language

LanguageLinesShare
R4,29874%
Rd1,44625%
Vignettes781%

Languages are counted from file extensions.

Files
99
R functions
84
Object systems
S3: 24 methods
Complexity
Median
2
Mean
5.7
Highest
49
Median lines per function
15
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
84
Calls
92
Unconnected
13
Groups
3
Growth (15 releases)
Total lines by release
4,792 on 27 Mar 20155,822 on 6 Oct 2025
Release changes

The tests ran and coverage was measured.

Lines run by tests
42.1%
Expressions run by tests
41.5%
Test cases
27
Exports named in tests
20%
Coverage by file (15)
Coverage run
Lines counted
1,876
Lines the tests ran
789
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat
Test cases
27
Lines of tests
312
Test lines per line of code
0.08
Exports documented
100%
Arguments documented
94.7%
Return value documented
100%
Help pages with examples
87.5%
Examples run in checks
100%
Guides (1)
Other documentation
README
No
Release notes file
Yes
Help pages
16
Lines of documentation
1,446
DatasetSizeColumns
dissim.lesmisDataset "Les Misérables"77 × 77
lesmisDataset "Les Misérables"length 254
presidentielles20022002 French Presidential Election Dataset106 × 16MEGRET, LEPAGE, GLUCKSTEIN, BAYROU, CHIRAC, LE_PEN and 10 more
Earlier names (1)
  • Nathalie Villa-Vialaneix

tuxette / sombrero on github.com

Stars
17
Forks
5
Open issues
0
Last commit
19 Aug 2025
Activity
Commits
406
Open pull requests
0
Tagged releases
0
Latest tagged release
–
Issues closed in
79 days (median)
Pull requests closed in
–
Pull requests merged
–
Created
19 Sep 2017
Licence file reads as
–
R releases
  • On CRAN
  • Release
1.01.11.21.31.41.5.0R 3.3.0R 3.4.0R 3.5.0R 3.6.0R 4.0.0R 4.1.0R 4.2.0R 4.3.0R 4.4.0R 4.5.0R 4.6.0
VersionReleasedR
1.5.0 current6 Oct 20254.5.1
1.4.418 Aug 20254.5.1
1.4-319 Jun 20254.5.1
1.4-225 Jan 20244.3.2
1.4-13 Jan 20224.1.2
1.43 Jan 20224.1.2
1.3-111 Aug 20204.0.2
1.38 Jun 20204.0.1
Earlier versions (7)
VersionReleasedR
1.2-55 Mar 20203.6.3
1.2-47 Mar 20193.5.2
1.2-35 Feb 20183.4.3
1.2-220 Sep 20173.4.1
1.22 Sep 20163.3.1
1.14 Nov 20153.2.2
1.028 Mar 20153.1.3
Release notes (1.5.0)

New feature

  • addition of a 'clustering' option in superClasses

Bug fix

  • fixed a bug in cutree for somSC results