check_grid {RSDK}R Documentation

Check_grid()

Description

This function checks if a 9 by 9 grid is a complete sudoku grid (each number appear only once in its row,column and box )

Usage

check_grid(x)

Arguments

x

A sudoku grid

Value

True if x is a cpmlete sudoku grid False if x is not

Examples

check_grid(x=grid_gen_cplt())
check_grid(x=grid_gen(54))

[Package RSDK version 1.0.1 Index]