build_ggboard: build_ggboard

Description Usage Arguments Value Author(s)

View source: R/build_ggboard.R

Description

Creates a ggplot2 object of the Game of Life board for a data frame of 1 or more generations.

Usage

1
build_ggboard(board_DF, board_size)

Arguments

board_DF

A data frame containing the co-ordinates of living cells, as produced by gameRlife::board_df.

board_size

An integer specifying the size of the 2D array.

Value

An object of class ggplot.

Author(s)

Alex Kalinka, alex.t.kalinka@gmail.com


alextkalinka/gameRlife documentation built on Jan. 4, 2022, 12:02 a.m.