View source: R/Check_Obsn_vs_Reg_Matrix.R
Check_Obsn_vs_Reg_Matrix | R Documentation |
Observations Vs Regions Incidence Matrix
Check_Obsn_vs_Reg_Matrix(Design, Region)
Design |
A Sudoku design in matrix format |
Region |
A matrix of regions according to the Sudoku design |
Observations vs regions incidence matrix for a given Sudoku design and region matrix
library(SudokuDesigns)
design<-matrix(c(1,2,3,4,3,4,1,2,2,1,4,3,4,3,2,1),nrow=4,ncol=4,byrow=TRUE)
region<-matrix(c(1,1,2,2,1,1,2,2,3,3,4,4,3,3,4,4),nrow=4,ncol=4,byrow=TRUE)
Check_Obsn_vs_Reg_Matrix(design, region)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.