Modify the geoms on layers used to display the slots, pins, paths, balls, or distribution in a plinko_board(). plinko_board() objects use several geoms to produce the plot of the board; this function allows you to modify arguments and aesthetic mappings passed to those geometries.

modify_layer(board, name, mapping = aes(), ...)

Arguments

board

A plinko_board() object

name

Name corresponding to the geom to modify: one of "slot_edges", "pins", "balls", "paths", or "dist".

mapping

An aes() object containing entries in the aesthetic mapping for this geom that you wish to change. Missing entries are left as-is.

...

Arguments to the geom you wish to change.