I am trying to make an output that includes x: a dataset of 6 variables and y: one numeric variable.
I don't understand what the problem is, since y is num
output = glmnet(x[train,], y[train], alpha = 1)
Error in y[train] : invalid subscript type 'list'
Hello everyone!
I am trying to make an output that includes x: a dataset of 6 variables and y: one numeric variable. I don't understand what the problem is, since y is num