[R] Data labels in R
jim holtman
jholtman at gmail.com
Sun Sep 15 17:46:10 CEST 2013
Read the help file on 'plot' and look at some of the examples to see
how to place labels in various places on a plot. This is not
difficult if you have read any of the documentation.
Jim Holtman
Data Munger Guru
What is the problem that you are trying to solve?
Tell me what you want to do, not how you want to do it.
On Sun, Sep 15, 2013 at 11:37 AM, Ankur Seth <ankurseth82 at gmail.com> wrote:
> I need to put labels in plot in R. Can someone please help? The labels are
> in the excel file and loaded into "lables"
>
> library(xlsx)
> library(zoo)
>
> fPTAnalysis<-"Input.xls"
> data<-read.xlsx(fPTAnalysis,9)
>
> lables<-subset(data, select=c(Labels))
> data<-subset(data, select=c(Date,col1, col2 ))
> data<-read.zoo(data)
>
>
>
> plot(data)
>
> --
> Regards,
> Ankur Seth
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list