Learn R Programming

SudokuDesigns (version 1.2.0)

Check_Tupple: Find tupple occurances in a given matrix rows

Description

Find tupple occurances in a given matrix rows

Usage

Check_Tupple(matrix, tupple)

Value

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

Arguments

matrix

Any matrix

tupple

A vector of numbers

Examples

Run this code
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))

Run the code above in your browser using DataLab