[R] Query

Sun Yong Kim @unyong@k|m @end|ng |rom ke||ogg@northwe@tern@edu
Fri Apr 23 15:28:38 CEST 2021


Hi

I have been trying to circulate a question but my question keeps getting rejected. Let me try again via email. The message is below:

I am trying to change the tick size for IRF graphs that I created using the following code below:

par(mfrow=c(2,3))
IRF_F2 <- irf(SVARmod1, impulse="deltaw2",
          response=c("Belgium","France","Germany","Italy","Netherlands"),
n.ahead=60)
plot(IRF_F2,ylim=c(-0.5,0.3), plot.type="single", main="US Wealth Share
Shock")

The code gives me the following IRFs I have attached to this email. However the tick intervals is way too small and I want to change it to intervals of 10. I was thinking something like:

par(mfrow=c(2,3))
IRF_F2 <- irf(SVARmod1, impulse="deltaw2",

response=c("Belgium","France","Germany","Italy","Netherlands"),
n.ahead=60)
plot(IRF_F2,ylim=c(-0.5,0.3), plot.type="single", main="US Wealth
Share Shock", xaxt="n")
axis(side= 1, at = c(10, 20, 30, 40, 50, 60))

But it doesn't work. Any suggestions on how to reduce the tick interval?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bond IRFs (Euro Zone) FINAL.png
Type: image/png
Size: 67577 bytes
Desc: Bond IRFs (Euro Zone) FINAL.png
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20210423/7df20fa3/attachment.png>


More information about the R-help mailing list