Check_Tupple {SudokuDesigns}R Documentation

Find tupple occurances in a given matrix rows

Description

Find tupple occurances in a given matrix rows

Usage

Check_Tupple(matrix, tupple)

Arguments

matrix

Any matrix

tupple

A vector of numbers

Value

Number of times a tupple occurs within the rows of a given matrix

Examples

mat1<-matrix(c(1,2,3,4,1,3,6,2,8,1,8,3),nrow=4,byrow=TRUE)
mat1
Check_Tupple(mat1,c(1,2))

[Package SudokuDesigns version 1.1.0 Index]