square_it_mat: Expands unit-squares on points.

Description Usage Arguments Value Examples

Description

Expands unit-squares on points.

Usage

1

Arguments

X

A data.frame with two columns, named x and y respectively.

Value

Takes a set of gridpoints and returns the the vertices of the unit square it the points as its center.

Examples

1
2
3
X <- data.frame(x = c(1, 1, 1),
                y = c(1, 2, 3))
square_it_mat(X)

EmilHvitfeldt/ggtetris documentation built on May 29, 2019, 2:48 p.m.