pls use lm(y ~ x1+x2) 2009/8/21 Inchallah Yarab <inchallahya...@yahoo.fr>: > Good morning, > > I want to make a linear regression of a variable fuction of two variables y > = a1 x1 + a2 x2 + c > > I found the function lm (y ~ x) but it used for a simple linear regression, > but for multiple regression i do not know which function do this!! > > Can you help me please!! > > Thank you in advance > > > > [[alternative HTML version deleted]] > > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > >
-- HUANG Ronggui, Wincent PhD Candidate Dept of Public and Social Administration City University of Hong Kong Home page: http://asrr.r-forge.r-project.org/rghuang.html ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.