You are on page 1of 1

> doughertybab1a <- edit(as.data.frame(NULL)) > library(lattice, pos=4) > xyplot(Y ~ S, pch=16, + auto.key=list(border=TRUE), par.

settings = simpleTheme(pch=16), + scales=list(x=list(relation='same'), y=list(relation='same')), + data=doughertybab1a) > scatterplot(Y~S, reg.line=lm, smooth=TRUE, spread=TRUE, boxplots='xy', span=0. 5, xlab="Highest grade + completed", ylab="Hourly earnings ($)", data=doughertybab1a) > scatterplot(Y~S, reg.line=FALSE, smooth=FALSE, spread=FALSE, boxplots=FALSE, s pan=0.5, + xlab="Highest grade completed", ylab="Hourly earnings ($)", data=doughertyba b1a) > scatterplot(Y~S, reg.line=FALSE, smooth=FALSE, spread=TRUE, boxplots=FALSE, sp an=0.5, + xlab="Highest grade completed", ylab="Hourly earnings ($)", data=doughertyba b1a) > scatterplot(Y~S, reg.line=lm, smooth=FALSE, spread=FALSE, boxplots=FALSE, span =0.5, + xlab="Highest grade completed", ylab="Hourly earnings ($)", data=doughertyba b1a) > scatterplot(Y~S, reg.line=lm, smooth=FALSE, spread=FALSE, boxplots=FALSE, span =0.5, + xlab="Highest grade completed", ylab="Hourly earnings ($)", pch=c(5), data=d oughertybab1a) > scatterplot(Y~S, reg.line=lm, smooth=FALSE, spread=FALSE, boxplots=FALSE, span =0.5, + xlab="Highest grade completed", ylab="Hourly earnings ($)", pch=c(1), data=d oughertybab1a) > scatterplot(Y~S, reg.line=lm, smooth=FALSE, spread=FALSE, boxplots=FALSE, span =0.5, + xlab="Highest grade completed", ylab="Hourly earnings ($)", pch=c(16), data= doughertybab1a)

You might also like