Skip to content
Prev 10621 / 398502 Next

automatic levels

Hello,

I've imported a csv, semi-colon spearated file with read.csv2,
containing one column of rownames and one column of floating point
numbers. When I look at the column of data with framename$columnname, I
get the values of the column plus level values. Are these level values
created automatically ?
The problem is when I try to calcluate the correlation coefficient
between this set of data and another with lm(x~y), the result indicates
that each level seems to have been used as independent variable, making
my results unusable.

How can I suppress the automatic creation of these levels ? Or how can I
model with lm() without the levels interfering ?
I've been trying to find the response in some of the manuals, but
haven't been able to, so if someone could just point me to the right
place...

Thank you !

P.S. I'm not subscribed to the list so I would aprreciate cc's to my
address.