powered by
Find tupple occurances in a given matrix rows
Check_Tupple(matrix, tupple)
Number of times a tupple occurs within the rows of a given matrix
Any matrix
A vector of numbers
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