Learn R Programming

GeneralizedUmatrix (version 1.2.1)

ListAsEsomNeurons: Converts List to WTS

Description

Converts wts data in list form into a 3 dimensional array

Arguments

wts_list[1:(Lines*Columns),1:Variables]

Matrix with weights in the 2nd dimension(not list() like in R)

Lines

Lines/Height of the desired grid

Columns

Columns/Width of the desired grid

Value

EsomNeurons[1:Lines, 1:Columns, 1:Variables]

3 dimensional array containing the weights of the neural grid. For a more general explanation see reference

Details

One could describe this function as a transformation or a special case of long to wide format, see also EsomNeuronsAsList

References

Ultsch, A.: Maps for the visualization of high-dimensional data spaces, Proc. Workshop on Self organizing Maps (WSOM), pp. 225-230, Kyushu, Japan, 2003.