Look at 'lm' in the 'base' package for linear fit,
in the manual "An Introduction to R", distributed with R, page 55....
Best!
A. S.
----------------------------
Sincerely yours.
|------------------------------------+------------------------------------|
|Alessandro Semeria |Tel. +39 544 536811 |
|------------------------------------+------------------------------------|
|Models and Simulation Laboratory |Fax. +39 544 538663 |
|------------------------------------+------------------------------------|
|The Environment Research Center - | |
|Montecatini (Edison Group), Via | |
|Ciro Menotti 48, |E-mail: asemeria at cramont.it |
|48023 Marina di Ravenna (RA), Italy | |
|------------------------------------+------------------------------------|
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._