The function calls SnnsRObject$train and saves the result in the
current rsnns object. This function is used internally by the 
models (e.g. mlp) for training. Unless you are not about to implement
a new model on the S3 layer you most probably don't want to use this function.
train(object, ...)# S3 method for rsnns
train(object, inputsTrain, targetsTrain = NULL,
  inputsTest = NULL, targetsTest = NULL,
  serializeTrainedObject = TRUE, ...)
the rsnns object
additional function parameters (currently not used)
training input
training targets
test input
test targets
parameter passed to SnnsRObject$train
an rsnns object, to which the results of training have been added.