check_overlap: check if patterns in A1 match those in A2

Description Usage Arguments Value Examples

View source: R/utils.R

Description

check if patterns in A1 match those in A2

Usage

1
check_overlap(A1, A2)

Arguments

A1

a binary matrix

A2

a binary matrix with the same dimensions as A1

Value

a list of three variables

Examples

1
2
check_overlap(matrix(c(1,1,0, 1,0,0),nrow=2,byrow=TRUE),
matrix(c(1,0,1, 1,1,0),nrow=2,byrow=TRUE))

zhenkewu/slamR documentation built on March 8, 2020, 1:31 a.m.