Description Usage Arguments Details Value Author(s) Examples
Move construct or element in grid to the left, right, up or down.
1 2 3 4 |
x |
|
pos |
Row (column) number of construct (element) to be moved.
The default is |
left
: Move construct or element in grid to the left, right, up or down.
right
: Move element in grid to the right.
up
: Move construct in grid upwards.
down
: Move construct in grid downwards.
left
: repgrid
object.
right
: repgrid
object
up
: repgrid
object
down
: repgrid
object
Mark Heckmann
1 2 3 4 5 6 7 8 9 | ## Not run:
x <- randomGrid()
left(x, 2) # 2nd element to the left
right(x, 1) # 1st element to the right
up(x, 2) # 2nd construct upwards
down(x, 1) # 1st construct downwards
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.