Check_Tupple | R Documentation |
Find tupple occurances in a given matrix rows
Check_Tupple(matrix, tupple)
matrix |
Any matrix |
tupple |
A vector of numbers |
Number of times a tupple occurs within the rows of a given matrix
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.