[R] Overlay two plots on the same device with axes having the same scale.
Ben Bolker
bolker at ufl.edu
Mon Nov 24 04:03:16 CET 2008
John Sorkin <jsorkin <at> grecc.umaryland.edu> writes:
> I have crated a file containing data with x and y
> values and have plotted the data using the output of gam. I
> would like to overlay an x,y plot of the data on top of
> the line returned by gam.
Why not plot the gam fit first and then use points(x,y) to
add the original data to the plot?
Ben Bolker
More information about the R-help
mailing list