Displaying 1 result from an estimated 1 matches for "is_burn".
Did you mean:
imgburn
2009 Dec 30
1
lm() and factors appending
How for the love of god can I prevent the lm() function from padding on to
my factor variables?
I start out with 2 tables:
Table1
123123
124351
...
626773
Table2
Count,IS_DEAD,IS_BURNING
1231,T,F
4521,F,T
...
3321,T,T
Everything looks fine when I import the data.
then we get a
oh_crap <- lm(table1 ~ Count + IS_DEAD + IS_BURNING, table2)
Magically when I look at my oh_crap coefficents they get turned into
Count, IS_DEADTRUE, IS_BURNINGTRUE
I get it that it finds them to...