Message-ID: <1343575085562-4638262.post@n4.nabble.com>
Date: 2012-07-29T15:18:05Z
From: sappy
Subject: Simple x,y Plot
Dear Community,
i have read in a table with two column from a *txt-File. What i get is a
data-frame wit two column.
After that i allocate this 2 column to x and y. Plotting this, i obtain a
picture that looks like a bar plot (something like a grid).
Is that because x and y is in factor-formatted? A conversion with
"asnumeric" doesnt work. I get a vector with "NA".
Here is my code:
daten<-read.table("C:/Users/Robert/Desktop/regen.txt", header=FALSE,
colClasses=c("real","real"))
x<-daten[,1]
y<-daten[,2]
plot(x,y)
Greetings
--
View this message in context: http://r.789695.n4.nabble.com/Simple-x-y-Plot-tp4638262.html
Sent from the R help mailing list archive at Nabble.com.