Last data update: 2014.03.03
|
R: Get the board entries (configuration of the lights)
board_entries | R Documentation |
Get the board entries (configuration of the lights)
Description
Get the board entries (configuration of the lights)
Usage
board_entries(board)
Arguments
board |
A lightsout board object
|
Value
A matrix representing the current state of the lights (0 for off,
1 for on) in the board
Examples
board <- random_board(5)
board
board_entries(board)
Results
|