rlbmat | R Documentation |
Generate a uniform logical matrix deviate with a possibly overlapping block structure.
rlbmat(npat = 4, rows = 20, cols = 12, over = 4, noise = 0.01,
prob = 0.8, perfect = FALSE)
npat |
number of patterns. |
rows |
number of rows per pattern. |
cols |
number of columns per pattern. |
over |
number of additional columns per pattern that overlap. |
noise |
the probability of observing a one in the background (non-pattern) matrix. |
prob |
the probability of observing |
perfect |
option for overlap of the first and the last pattern. |
Implements a test case for proximus
.
A logical matrix
Christian Buchta
lmplot
and
clmplot
for plotting a logical matrix
x <- rlbmat()
lmplot(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.