checkPairing: checkPairing

Description Usage Arguments Examples

Description

checkPairing is a function to check if two matrices have the same dimensions (same rows and columns) and same row and column names.

Usage

1

Arguments

X

matrix

Y

matrix

Examples

1
2
3
4
5
6
7
## Not run: 
(X <- round(matrix (rnorm(30)*10, ncol=6),1)) + 1:10
(Y <- round(X + matrix (rnorm(30)*10, ncol=6),1)) - 10:1
(rownames(X)=rownames(Y)=letters[1:nrow(X)])
(m1<-checkPairing(X,Y))

## End(Not run)

bertamiro/lpattern documentation built on July 19, 2019, 12:56 p.m.