match_edge: Check if a tile matches onto a given permutation of tiles.

Description Usage Arguments Value Examples

View source: R/match_edge.R

Description

Check if a tile matches onto a given permutation of tiles.

Usage

1
match_edge(tiles, tile)

Arguments

tiles

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

tile

character vector in the form of a element of tiles.

Value

Boolean indicating whether tile will fit onto tiles.

Examples

1
2
match_edge(tiles = rep(list(c("black", "white", "blue")), 15),
           tile = c("black", "white", "blue"))

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