rotate_points: Rotate points

View source: R/math.R

rotate_pointsR Documentation

Rotate points

Description

Rotate points

Usage

rotate_points(x_y_df, angle, seed, print_seed = FALSE)

Arguments

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

Value

a vector of y values for the random sine wave


christopher-rowe/StochasticArt documentation built on April 15, 2023, 3:59 a.m.