rboolm: Create matrix of random choosen boolean values

Description Usage Arguments Value Examples

View source: R/random-matrix.R

Description

Create matrix of random choosen boolean values

Usage

1
rboolm(nrow, ncol, true.proba = 0.5)

Arguments

nrow

number of rows

ncol

numer of columns

true.proba

probability of true values; default: 0.5

Value

a matrix

Examples

1
2
rboolm(3, 3)
rboolm(4, 5, true.proba = 0.3)

matricks documentation built on March 26, 2020, 6:22 p.m.