I cam across the following code which is used to train a model:
model <- train(RT..seconds.~., data = cadets, method = "nnet", trControl = ctrl, linout = TRUE)
Is this the same thing as running an algorithm on train data or is this something else.In my limited knowledge of R,this is the first time I came through a code like this and not being able to run R on my system also(ubuntu issues)
So can somebody please help me with this!!