Learn R Programming

matricks (version 0.8.2)

runifm: Create matrix of random values drawn from uniform distribution

Description

Create matrix of random values drawn from uniform distribution

Usage

runifm(nrow, ncol, min = 0, max = 1)

Arguments

nrow

number of rows

ncol

numer of columns

min

lower limit of the distribution. Must be finite.

max

upper limit of the distribution. Must be finite.

Value

a matrix

Examples

Run this code
# NOT RUN {
runifm(3, 3)
runifm(4, 5, min = -1, max = 3)
# }

Run the code above in your browser using DataLab