Description Usage Arguments Examples
Long format is helpful in ggplot2 plots.
1 | kde2d_tidy(kde2d_output)
|
kde2d_output |
Ouput of MASS:kde2d output. |
1 2 3 4 5 6 7 | library("MASS")
temp <- MASS::kde2d(x = runif(100, 0, 1)
, y = runif(100, 0, 5)
, n = 500
)
str(temp)
kde2d_tidy(temp)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.