som_dimR {SOMEnv} | R Documentation |
Calculate map dimensions
Description
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
Usage
som_dimR(dataset, type = "regular")
Arguments
dataset |
Experimental data |
type |
Either "regular", "small" or "big" map (default ="regular") |
Value
This function returns a list containing the number of rows, columns and overall map units
Author(s)
Sabina Licen, Pierluigi Barbieri
References
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
See Also
eigen, cor
Examples
library(datasets)
som_dimR(iris[,1:4], type="small")
[Package SOMEnv version 1.1.2 Index]