title: Predict data of next 2 months through data of last 10 months
body: <p>I have data of last 10 months in CSV file through which I want to predict data of next 2 months using R.Kindly help I am a beginner.
  What i have did yet is :</p>
  
  <ol>
  <li>Read data from file.</li>
  <li>Put half data in a variable named 'train' and other half in 'test'.</li>
  <li><code>Model&lt;-lm(data=train)</code></li>
  <li><code>prediction&lt;-predict(Model,newdata=test)</code></li>
  </ol>
  
  <p>Kindly help if i am on the right track or not? Kindly elaborate. Thanks in advance.Help will be a great favor as its an office task and no one is here to help.</p>