在R中绘制超平面?
如何在 R 中以 3D 形式绘制超平面(给定方程)? (即 3d 相当于“abline”)
提前致谢,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
如何在 R 中以 3D 形式绘制超平面(给定方程)? (即 3d 相当于“abline”)
提前致谢,
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
您可能需要软件包scatterplot3d 或HH(函数
regr2.plot
)。例如,参见这个 示例 用于scatterplot3d
。You probably want the packages scatterplot3d or HH (function
regr2.plot
). See, e.g., this example forscatterplot3d
.Lattice 支持 3D 图表。请参阅 Lattice:使用 R 进行多元数据可视化 上 LearnR 博客。例如,使用
wireframe()
:Lattice supports 3D charts. See some of the nice examples from Lattice: Multivariate Data Visualization with R on the LearnR blog. For instance, with
wireframe()
: