sunbursts | R Documentation |
This function generates a grid of sunbursts pieces
sunbursts(
ncol = 4,
nrow = 4,
n = 100,
x_means = c(0, 10, 5),
y_means = c(0, 7, 8),
xy_var = 5,
low = "#4e0550",
high = "#facdfc",
s = 1234
)
ncol |
Number of column panels. Default 4. |
nrow |
Number of row panels. Default 4. |
n |
Granularity. Default 100. |
x_means |
Vector of any number of means for the x-coordinate. Default |
y_means |
Vector of any number of means for the y-coordinate. Default |
xy_var |
Numeric varaince of x and y points. Default 5. |
low |
Colour of background. Default |
high |
Colour of sunburst points. Default |
s |
Seed value. Default 1234. |
A ggplot object.
sunbursts()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.