Plot causes “Error: Incorrect Number of Dimensions”
问题 I am learning about the "kohonen" package in R for the purpose of making Self Organizing Maps (SOM, also called Kohonen Networks - a type of Machine Learning algorithm). I am following this R language tutorial over here: https://www.rpubs.com/loveb/som I tried to create my own data (this time with both "factor" and "numeric" variables) and run the SOM algorithm (this time using the "supersom()" function instead): #load libraries and adjust colors library(kohonen) #fitting SOMs library(ggplot2