som_dimR {SOMEnv} | R Documentation |
Generate SOM map dimensions according to Vesanto heuristic rules based on the first two eigenvalues of the experimental data and their related eigenvectors The function has been coded in R code starting from som_dim.m script present in somtoolbox for Matlab by Vesanto and adapted for the use in the shiny app
som_dimR(dataset, type = "regular")
dataset |
Experimental data |
type |
Either "regular", "small" or "big" map (default ="regular") |
This function returns a list containing the number of rows, columns and overall map units
Sabina Licen, Pierluigi Barbieri
J. Vesanto, J. Himberg, E. Alhoniemi, J. Parhankagas, SOM Toolbox for Matlab 5, Report A57, 2000, Available at: www.cis.hut.fi/projects/somtoolbox/package/papers/techrep.pdf
eigen, cor
library(datasets)
som_dimR(iris[,1:4], type="small")