Description Usage Arguments Value Examples
Calculate the tetris shape outlining a set of connected points.
1 |
points |
A data.frame or matrix with two columns, named x and y respectively. |
A matrix with two columns, named x and y respectively. Corresponding to the vertices points.
1 2 3 | X <- data.frame(x = c(1, 1, 1, 2, 3),
y = c(1, 2, 3, 2, 2))
tetris(X)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.