Learn R Programming

mathart (version 0.0.0.9000)

rose_curve: Generate rose curve

Description

Generates data for plotting a rose curve and stores it in a data frame with (x, y) coordinates. Refer to the Wikipedia article for details.

Usage

rose_curve(n, d, delta = pi/180, N = 32)

Arguments

n

Curve parameter

d

Curve parameter

delta

Timestep

N

Determines the extent of the curve

Examples

Run this code
# NOT RUN {
rose_curve()
# }

Run the code above in your browser using DataLab