我正在尝试绘制quantreg命令的结果,但是图形的标签没有显示出来。我正在运行这段代码:
plot(summary(qrg), parm="agua_esgoto", xlab = "Quantiles", ylab = "Piped water and sewage", main = "Figure 1")这是返回的图像:

发布于 2019-12-16 17:05:06
需要设置边距才能看到y或x标签,您可以查看the vignette下的选项
例如:
data("engel")
fm <- rq(foodexp ~ income, data = engel, tau = 1:9/10)
plot(fm,parm=2)
# no x or y labels can be seen

plot(fm, parm = 2, mar = c(5.1, 4.1, 2.1, 2.1),
main = "", xlab = "tau", ylab = "income coefficient")

https://stackoverflow.com/questions/59329749
复制相似问题