Skip to content

Plotting polynomial fit

2 messages · Ronnen Levinson, David Winsemius

#
On Apr 26, 2009, at 8:40 PM, Ronnen Levinson wrote:

            
Use instead the predict function. Something like:

lines(x=seq(min(x), max(x), length=100), y= predict( fit,  
newdata=  ....) #insert properly constructed dataframe



David Winsemius, MD
Heritage Laboratories
West Hartford, CT