linear regression on R

hi i am now trying to do linear regression on R, I wish to include no_siblings but an error occurred. may i pls be guided to it? thank you!

lmHeight2 = lm(height~age + no_siblings, data = ageandheight)

Those are warning messages. Are you sure there is an error?

If ls() shows you an object called lmHeight2 then there is no error. Those warnings do not seem to refer to things that lm does.

oh i see. alright, thank you for the clarification!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.