put_tiles: Turn a list of coloured tiles into a dataframe ready for...

Description Usage Arguments Value Examples

View source: R/put_tiles.R

Description

Turn a list of coloured tiles into a dataframe ready for plotting.

Usage

1
put_tiles(tiles_in)

Arguments

tiles_in

List of character vectors from the edge_plot() parameter tiles.

Value

Data.frame with the xy coordinates and colour for all of the dots for all 16 tiles.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
put_tiles(list(c("green", "red", "yellow")
,c("green", "yellow", "white"),
c("white", "white", "blue")
,c("blue", "black", "white")
,c("white", "green", "red")
,c("black", "green", "red")
,c("green", "black", "black")
,c("yellow", "green", "white")
,c("blue", "yellow", "red")
,c("green", "red", "black")
,c("blue", "white", "blue")
,c("white", "black", "blue")
,c("red", "yellow", "white")
,c("yellow", "black", "blue")
,c("green", "yellow", "black")
,c("green", "black", "red")))

jsphdms/edger documentation built on May 28, 2019, 5:40 a.m.