check_grid: Check_grid()

View source: R/check_grid.R

check_gridR 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))

ELKHMISSI/RSDK documentation built on March 24, 2022, 10:15 p.m.