grid_coord: Convert gridify Labels to X & Y Coordinates

Description Usage Arguments Value Examples

Description

Converts the standard gridify grid labels to usable x and y coordinates that correspond tot eh center of each grid cell.

Usage

1
grid_coord(dataframe, columns = 30, rows = columns, coord = "coord")

Arguments

dataframe

A dataframe (generally from read.embodied).

columns

The number of columns (corresponds to gridify).

rows

The number of rows (corresponds to gridify).

coord

Character name of the coordinate column ("coord" by default).

Value

Returns a dataframe with an x and y coordinates columns.

Examples

1

trinker/embodied documentation built on May 31, 2019, 8:42 p.m.