| PolarShapes | R Documentation | 
Functions to draw shapes from polar co-ordinates.
runPolarShape( x = 0, y = 0, r = c(0.2, 0.1), points = 5, loops = 1, rotation = 0, polarFunction = NULL, polarArguments = list(), repeats = 1, useSegments = FALSE ) makePolarShape(type = "polygon", ...) makeStar(...) makeCircle(r = 1, points = 100, ...)
| x, y | the center of the shape | 
| r | radius | 
| points | the number of points on single loop | 
| loops | the number of times the line wraps around the center | 
| rotation | rotation in radians. rotates the shape this much. | 
| polarFunction | if not null, gives radius instead of r | 
| polarArguments | a list of arguments passed to polarFunction | 
| type | The name(s) of the plotting function(s) used to plot the component. Defaults to "polygon". This can also include the names of classes linked to a plotting function. | 
makePolarShape has two modes depending on if a polar function is given instead of a radius r.
art=makeStar(r=c(0.1,NA,0.2,NA,0.4,NA),points=13,loop=6) easyPlot(art,preserveAspectRatio=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.