python - 我如何在 R 中以与 python 相同的方式进行联合绘图(seaborn 包)

标签 python r visualization seaborn

我如何在 R 中以与 python 相同的方式创建联合图(seaborn 包)

在 python

import seaborn as sns
sns.jointplot(bigdiamonds["price"], bigdiamonds["carat"])

<seaborn.axisgrid.JointGrid at 0x207230b0>

enter image description here

我如何在 R 中执行此操作?

最佳答案

谢谢马吕斯

我从博客文章中做到了这一点

devtools::install_github("WinVector/WVPlots")
library(WVPlots)
ScatterHist(diamonds, "price", "carat")

得到这个

enter image description here

关于python - 我如何在 R 中以与 python 相同的方式进行联合绘图(seaborn 包),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31107740/

相关文章:

r - 使用 group_split,将单个值添加到列表中的每个项目以循环和累加

visualization - 无法在 IPython 中使用 vincent 进行绘图

r - 在 R 中预测/估算泊松 GLM 回归的缺失值?

r - 刮掉标题下的所有子段落(最好是 rvest)

python - setup.py 中需要什么来创建轮子?

Python函数参数作为全局变量

visualization - 无法在 Apache Superset 中显示箱线图

tensorflow - 如何从 AttentionWrapper 可视化注意力权重

python - HTTP 错误 403 : Forbidden with urlretrieve

python - Paramiko 在异常后不返回提示(Python 3)