Learn R Programming

nnR (version 0.1.0)

generate_random_matrix: Function to generate a random matrix with specified dimensions.

Description

Function to generate a random matrix with specified dimensions.

Usage

generate_random_matrix(rows, cols)

Value

a random matrix of dimension rows times columns with elements from a standard normal distribution

Arguments

rows

number of rows.

cols

number of columns.