submatrix_counter: Check's Alias submatrix for 0's

Description Usage Arguments Value Examples

View source: R/submatrix_counter.R

Description

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

Usage

1

Arguments

v

The top left of a 2x2 submatrix coordinates

alias

An alias matrix of interest

Value

1 if all four elements are 0, 0 otherwise

Examples

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)

vinny-paris/optrotvec documentation built on April 9, 2021, 4:34 a.m.