fast.pattern: Fast pattern

Description Usage Arguments Author(s) Examples

View source: R/fastpattern.R

Description

Fast pattern

Usage

1
fast.pattern(x, y, categories = 2, ...)

Arguments

x

Matrix (binary) of patterns. Optionally if y is also passed as argument, then the pattern matrix is defined as the elements agreeing in the two matrices.

y

Optional matrix argument with same dimensions as x (see above)

categories

Default 2 (binary)

...

Optional additional arguments

Author(s)

Klaus K. Holst

Examples

1
2
3
4
5
X <- matrix(rbinom(100,1,0.5),ncol=4)
fast.pattern(X)

X <- matrix(rbinom(100,3,0.5),ncol=4)
fast.pattern(X,categories=4)

mets documentation built on May 31, 2017, 1:52 a.m.