Description Usage Arguments Value Examples
View source: R/submatrix_counter.R
This funciton is basically a logic function to see if corrdinates v of design is a submatrix of the alias function that has elements of all 0's
1 |
v |
The top left of a 2x2 submatrix coordinates |
alias |
An alias matrix of interest |
1 if all four elements are 0, 0 otherwise
1 2 3 4 5 6 7 8 | ## Not run:
d <- ran_D(25, 4)
alias <- alias_matrix(d)
submatrix_counter(c(3,5), alias)
alias_2 <- alias[c(3,4), c(5,6)]
submatrix_counter(c(3,5), alias_2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.