integerMatrix {oligoClasses} | R Documentation |
Coerce numeric matrix to matrix of integers, retaining dimnames.
integerMatrix(x, scale = 100) integerArray(x, scale=100)
x |
a |
scale |
scalar (numeric). If not 1, |
A matrix
or array
of integers.
R. Scharpf
x <- matrix(rnorm(10), 5, 2) rownames(x) = letters[1:5] i <- integerMatrix(x, scale=100)