Message-ID: <49B16FA6.4060708@zoo.ufl.edu>
Date: 2009-03-06T18:47:02Z
From: John Poulsen
Subject: c() coverts real numbers to integers?
Hello,
I know I am forgetting to do something silly. I typed coordinates in
vectors (as below) but when I call them in R they come out as integers,
and I want them to be real numbers. I have tried using as.numeric,
as.real, etc... but they are still read by R as integers.
STX<-c(16.0962, 16.1227, 16.0921, 16.1498)
STY<-c(2.0387, 2.0214, 1.9877, 1.9846)
What am I doing wrong?
Thanks for your help,
John