Say I have the dummy dataset (not the real one I'm using but similar construction):
Room_Count | Markers_Used | Crayons_Used |
---|---|---|
20 | 0.45 | 242.2 |
14 | 0.11 | 212.7 |
11 | 4.32 | 74.5 |
When I run the R code:
m <- lm(Room_Count ~ Markers_Used + Crayons_Used)
I'm getting from in the output of summary(m)
:
Coefficients:
(Intercept)
Markers_Used0.45
Markers_Used0.11
Markers_Used4.32
Crayons_Used
The Crayons_Used intercept is returned as I would expect with just the column name and pertinent stat info. The Markers_Used one is returning the rows of the table as intercepts when I just want Markers_Used to be returned.