Displaying 1 result from an estimated 1 matches for "ombit".
Did you mean:
mbit
2012 Nov 09
9
lm function - strange error
...w to use regression and right at the
onset I get an R error. I understand that variables "conc" and "signal"
should have the same length but I am using the what R manual suggests to
drop the error and it is not cooperating. What gives? The manual says
that the default is na.ombit by the way, not that it's addition does
anything
How do I make it omit the extra items? I want to follow this document but
it seems that R has changed since that one was written
Here is the code
conc = c(0 10 20 30 40 50)
signal = c (4, 22, 44, 60, 82)
lm( signal ~ conc)
#Error in model....