Re: [R] Pl help with code and graph

2016-05-08 Thread Jim Lemon
Hi Prasad, You are probably looking for linear modelling of some sort. The first thing to do is to read the data into R (if you haven't already done so). You will almost invariably have a _data frame_ in which the columns will contain values for at least year and profit. Then plot the profits of A

Re: [R] Pl help with code and graph

2016-05-08 Thread Bert Gunter
This is not a code writing service. Posters are expected to first make an honest effort and show us their code as part of their post. Please read the posting guide to learn more. Most attachments, including Excel files, are stripped by the mail server. Use ?dput to include example data in a post.