dice {matRiks} | R Documentation |
Coordinates of a dice with four dots
Description
Define the coordinates for drawing four dots placed in the vertices of a square
Usage
dice(pos.x = 13, pos.y = 13, shd = "black", lwd = 3, lty = 1)
cross_dice(shd = "black", lwd = 3, lty = 1)
Arguments
pos.x |
numeric, position on the x axis. Default is 13 (-13) |
pos.y |
numeric, position on the y axis. Default is 13 (-13) |
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 1 (solid line). |
Value
Return the coordinates for drawing a dice with 4 dots
The coordinates for drawing a dice with 4 dots
Functions
-
cross_dice()
: Coordinates of a cross dice with four dotsDefine the coordinates for drawing four dots placed in the vertices of a luck
Examples
# return the default coordinates for drawing a dot
dice()
# change the shade of the dice
dice(shd = "grey")
# return the default coordinates for drawing a dot
cross_dice()
# change the shade of the cross dice
cross_dice(shd = "grey")
[Package matRiks version 0.1.3 Index]