title: How to find scaling factor for new data in R?
body: <p>I developed a model for my fraud detection dataset that contains 100000 records.</p>
  <p>In my dataset, I treated 70% of the data as training data and 30% of the data as testing data. Before generating a final model for the training data, I then scaled the data using <code>scale=TRUE</code> in R.</p>
  <p>But I can't scale the prediction (i.e., testing) data alone.</p>
  <p>How do I scale the new data?</p>