build_gganimate_board: build_gganimate_board

Description Usage Arguments Value Author(s)

View source: R/build_gganimate_board.R

Description

Returns a gganimate object of the Game of Life board for a given gameRlife::game_of_life output using gganimate and gifski: intended to be viewed in the RStudio Viewer tab.

Usage

1
build_gganimate_board(board_ggplot, num_gen)

Arguments

board_ggplot

A object of class ggplot2 as produced by gameRlife::build_ggboard.

num_gen

An integer specifying the number of generations.

Value

Used for its side-effect of animating in

Author(s)

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


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