[R] lm: how are polynomial functions interpreted?

Charles C. Berry cberry at tajo.ucsd.edu
Mon Jan 12 19:01:54 CET 2009


On Mon, 12 Jan 2009, cgw at witthoft.com wrote:

[nothing deleted]

matplot(1:100, lm(rnorm(100)~poly(1:100,4),x=T)$x ) # for example

>
> ______________________________________________
> R-help at 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

Ahem!

> and provide commented, minimal, self-contained, reproducible code.
......^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Charles C. Berry                            (858) 534-2098
                                             Dept of Family/Preventive Medicine
E mailto:cberry at tajo.ucsd.edu	            UC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/  La Jolla, San Diego 92093-0901




More information about the R-help mailing list