Displaying 1 result from an estimated 1 matches for "asnumeric".
Did you mean:
as_numeric
2012 Jul 29
4
Simple x,y Plot
...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...