0
$\begingroup$

I am trying to run a SOM for my both qualitative data in five-levels (1-5) and quantitative data for 23 variables. unfortunately, I got this error

SOM

set.seed(222) g <- somgrid(xdim = 4, ydim = 4, topo = "rectangular" )# function somgrid with defining dimentions map <- som(X, + grid = g, + alpha = c(0.05, 0.01), + radius = 1) Error in remove.data.na(data, narows) : Empty data layer - check maxNA.fraction argument

I do not have any NA in my data set what shall I do?

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.