Altaweel, Mark R. <maltaweel <at> anl.gov> writes:

> I have a scatter plot, with an equation that best fits
 the scatter plot expressed as:  1/x^.6.  I know for
> normal linear regression lines you can use the abline() command;
 however, since my best fit line is not
> linear, how can I draw my line on the scatter plot in a similar 
fashion to abline().

curve() or predict(): see

http://wiki.r-project.org/rwiki/doku.php?id=tips:graphics-misc:plotpredicted

______________________________________________
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.

Reply via email to