View source: R/neur.representatives.R
neur.representatives | R Documentation |
Compute the representative frame of each neuron (the closest to the neuron codebook)
neur.representatives(SOM)
SOM |
a kohonen SOM object. |
A vector containing the index of the representative frames for each neuron
Stefano Motta stefano.motta@unimib.it
#Read example SOM data
som_model <- readRDS(system.file("extdata", "SOM_HIFa.rds", package = "SOMMD"))
#Compute representative frame for each neuron
neuron_representatives <- neur.representatives(som_model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.