pythonrvisualizationseaborn

How do I do a jointplot in R the same way as I do it python (seaborn package)


How do I do a jointplot in R the same way as I do it python (seaborn package)

In python

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

<seaborn.axisgrid.JointGrid at 0x207230b0>

enter image description here

How do I do this in R?


Solution

  • Thanks Marius

    I did this from the blog post

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

    and got this

    enter image description here