How to erase axis title in graphics in R?

4

I'm doing multiple regressions for the same X variable and plotting joins using the command par(mfrow) on R . But I want to put only one title on the X axis at the end of all my graphics. I already know how to put the title, however I can not delete the titles of the X variable generated on each chart. Can anyone help me?

    
asked by anonymous 02.04.2015 / 00:14

1 answer

2

You can put the x-axis label as empty using xlab="" within plot .

If you want to remove the space left, you have to change the parameter mar :

par(mar=c(3, 4, 4, 2)) #A ordem é: embaixo, esquerda, topo, direita
plot(1:10, 1:10, xlab="")
    
02.04.2015 / 03:39