Learn R Programming

mathart (version 0.0.0.9000)

magpie: Generate magpie data

Description

Generates data for plotting a magpie and stores it in a data frame with (x, y) coordinates and radius r

Usage

magpie(n = 2e+05)

Arguments

n

The number of points to generate

Details

The equations were discovered by the mathematical artist Hamid Naderi Yeganeh.

Hamid's equations can be found here.

Examples

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

Run the code above in your browser using DataLab