Learn R Programming

matRiks (version 0.1.3)

lily: Define the coordinates of a lily

Description

Define the coordinates for drawing the circle arches composing a lily

Usage

lily(lwd = 3, lty = 1)

s_lily(lwd = 3, lty = 1)

Value

Return the coordinates for drawing the circle arches composing a lily

Return the coordinates for drawing the circle arches composing a single lily, to be used in shape()

Arguments

lwd

integer, define the line width of the figure. Default is 3

lty

integer, define the line type of the figure, default is 1 (solid line)

Functions

  • s_lily(): Define the coordinates a single lily

    Define the coordinates for drawing the circle arches composing a single lily, to be used in shape()

Examples

Run this code
# return the default coordinates drawing the circle arches composing a lily
lily()
# change the line type of the lily
lily(lty = 3)
# return the default coordinates for drawing a single lily
s_lily()
# change the line type of the single lily
s_lily(lty = 3)

Run the code above in your browser using DataLab