I have a question about S-Plus. I am using the student version 4.5 on a
laptop PC and am a student at the University of Washington. I am having
difficulty reading in an Excel file. The data is saved as numeric format in
Excel but when I read it into S-Plus it no longer recognizes it as numeric.
So, I used the following code to make it numeric. But when I run this code
as a script file it changes my y variables from 0's and 1's to 1's and
2's. I would appreciate any help.
Thanks very much,
Rod Gullberg
Seattle, Washington
import.data(DataFrame="data",FileName="A:/dat1.xls",FileType="EXCEL")
y_data$V2
x_data$V3
mode(x)_"numeric"
mode(y)_"numeric"
y
x
|