Skip to content
Prev 245889 / 398503 Next

linear regression with dates

On Dec 27, 2010, at 8:56 PM, Entropi ntrp wrote:

            
Well, whatever file you chose might have been a matrix in its former  
life, but is _now_ a dataframe.
If egfr has a column named "VALUE" then that might be so. But what is  
this "y-value" notion you are carrying on about?
1st 14 values of egfr_value, anyway.
Of unceratin class at the moment.
Aha! A factor classed variable! .... not the numeric value you were  
expecting. Your dataset had a non-numeric value and R decided it was  
really a string during the process of read.csv()  and made it a  
factor. Look at the read.table help page and read about asIs and  
stringsAsFactors.