Description Usage Arguments Value
Create spiraplot images
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
img |
Path of URL of image |
image_res |
Horizontal resolution for resized image |
ncols |
Number of shades of grey to quantise image into |
spiral_turns |
Number of turns in spiral |
spiral_res |
Number of points on spiral |
spiral_r0 |
Spiral inner radius |
spiral_r1_f |
Multiplicative scaling factor for spiral outer radius (1 makes spiral to full image width or height) |
thin |
Size of thinnest lines in spiral |
thick |
Size of thickest lines in spiral |
contrast |
A measure of contrast. Higher numbers will give more contrast. A value of 1 will scale the line width linearly from the darkest to the lightest shade of grey (default = 2) |
offset_angle |
Offset angle of spiral in degrees (default = 0) |
aspect |
Image aspect "landscape" (default) or "portrait" |
col_bg |
Background colour |
col_line |
Spiral line colour |
show_image |
Show image underneath spiral (default FALSE) |
A ggplot2 plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.