Rotates a parametric data.frame

rotate_df(df, theta)

Arguments

df

a data frame with two columns x and y

theta

a numeric denoting the amount of rotation

Value

a data frame with two columns x and y