I am trying to scale few columns in R in the training data set and apply the mean & std to the test data set. Here is the sample code:
The first column taken (2) is a