I wish to compare the observed values to the fitted ones. To do so, I decided to use a plot in R. What I want to do is to plot X vs Y and X vs Y.fitted on the same plot. I have written some code, but it is incomplete. My plot needs to look like this one below. On the plot, circles and crosses represent the observed and fitted values respectively

set.seed(1) x <- runif(8,0,1) y <- runif(8,0,1) y.fitted <- runif(8,0,1) plot(x,y,pch=1) plot(x,y.fitted,pch=5)