rotate_points | R Documentation |
Rotate points
rotate_points(x_y_df, angle, seed, print_seed = FALSE)
x_y_df |
a dataframe/tibble with columns x & y |
angle |
a numeric value, specified angle of rotation in radians |
seed |
a numeric value, the seed to initialize psuedo-randomness |
print_seed |
a boolean value, set to TRUE to print seed |
a vector of y values for the random sine wave
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.