使用 R 控制格子图中的面板数量
如何使用点阵限制单个页面上显示的面板数量?我正在绘制多个状态的回归结果图,并将其中 50 个状态放在一个页面上,导致它们难以阅读。我想将输出限制为 4 宽和所需的高度。
这是我的点阵代码:
xyplot(Predicted_value + Actual_value ~ x_value | State_CD, data=dd)
State_CD 有 50 个不同的值
How do I limit the number of panels shown on a single page using lattice? I am graphing the results of a regression for multiple states and putting 50 of these on a single page makes them unreadable. I would like to limit the output to 4 wide and as many tall as needed.
Here's my lattice code:
xyplot(Predicted_value + Actual_value ~ x_value | State_CD, data=dd)
There are 50 different values for State_CD
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
查看
layout
参数。也许你想要这样的东西:
Have a look at the
layout
parameter.Maybe you want something like: