Hello List!

 

Thank you for your input so far. I have successfully imported my data
into R but have hit a snag in plotting. Simple plot commands are unable
to find my headers when I try and plot my data on an x/y scatter. 

 

My data is a 2 column 8000 row table (saved as .txt file) imported into
R.

>demand=read.delim("C:\\Documents and Settings\\E066582\\My
Documents\\R\\R-2.13.0\\bin\\demand.txt")

 

First rows with headers are as shown: 

> demand[1,]

        Date Qty

1 12/31/2006   1

With two columns Date/Qty.

 

I attempted to plot and received an error. My headers were not found as
an object in R...maybe I'm missing something, but I was under the
impression I didn't need to create each header as an object...

> plot(Qty, Date)

Error in plot(Qty, Date) : object 'Qty' not found

> plot(Date, Qty)

Error in plot(Date, Qty) : object 'Date' not found

 

What step in plotting am I missing? 

 

 

 


        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to