[R] loess()

Winfried Theis theis at statistik.uni-dortmund.de
Tue Aug 13 13:12:12 CEST 2002


On 13-Aug-02 Alexandra Patriksson wrote:
> One more question...
> 
> I need to use the Loess() function in the package modreg. What is the
> argument
> "formula" meant to be?
Like the help page says:
"a formula specifying the response and one or more numeric
predictors (best specified via an interaction, but can also be specified
additively)."

Formula in R are typically written in the following way:
y~x1^2+x1+x2

y is the response and x1 and x2 are influences in this example. For more detail
see help(formula).

I strongly recommend to read "An Introduction to R" which explains most basic
things comprehensively and furthermore first check the help-pages before asking
the list!

Regards,

Winfried

---------------------------------------------------------------------
E-Mail: Winfried Theis <theis at statistik.uni-dortmund.de>
Date: 13-Aug-02

Dipl.-Math. Winfried Theis
SFB 475, Fachbereich Statistik, Universit"at Dortmund, 44221 Dortmund
Tel.: +49-231-755-5903 FAX: +49-231-755-4387
----------------------------------------------------------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list