ninja {matRiks}R Documentation

Coordinates of a ninja star

Description

Define the coordinates for drawing a ninja star (composed of two lucks)

Usage

ninja(size.x = 10, size.y = 15, shd = "black", lwd = 3, lty = 0)

s_ninja(size.x = 10, size.y = 15, shd = "black", lwd = 3, lty = 0)

Arguments

size.x

numeric, define the semi-major axis of the ellipse within which the figure is inscribed. Default is 10

size.y

numeric, define the semi-minor axis of the ellipse within which the figure is inscribed. Default is 15

shd

character, define the shading of the figure. Default is black

lwd

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

lty

integer, define the line type of the figure, default is 0

Value

Return the coordinates for drawing a ninja star

Return the coordinates for drawing a single ninja

Functions

Examples

# return the default coordinates for drawing a ninja
ninja()
# change the shade of the ninja
ninja(shd = "grey", lty = 0)
# return the default coordinates for drawing a single ninja
s_ninja()
# change the shade of the single ninja
s_ninja(shd = "grey", lty = 0)

[Package matRiks version 0.1.3 Index]