I've got these R plots. How do I make it so that the third's x axis is legible? Here's the partial code to make them.
par(mfrow=c(1,3)) #allows you to have multiple graphs in one window
plot(model2.summary$adjr2,xlab="Number of Variables",ylab="Adjusted R Squared", type="l")
which.max(model2.summary$adjr2) #find the number of variables with the highest adjr2
points(5,model2.summary$adjr2[5],col="red",cex=2,pch=20) # adds a red dot to the adjr2 graph where there is the
which.min(model2.summary$bic)
plot(model2.summary$bic,xlab="Number of Variables",ylab="BIC",type="l")
points(5,model2.summary$bic[5],col="red",cex=2,pch=20)
plot(model2,scale="adjr2", ylab = "Adjusted R Squared")
I tried to use the code below to tinker with the margins but it didn't work as expected.
par(mar=c(6,4,4,4)+.1)