rnormmat: Random Normal Matrix

View source: R/rt_ops.R

rnormmatR Documentation

Random Normal Matrix

Description

Create a matrix or data frame of defined dimensions, whose columns are random normal vectors

Usage

rnormmat(
  nrow = 10,
  ncol = 10,
  mean = 0,
  sd = 1,
  return.df = FALSE,
  seed = NULL
)

Arguments

nrow

Integer: Number of rows. Default = 10

ncol

Integer: Number of columns. Default = 10

mean

Float: Mean. Default = 0

sd

Float: Standard deviation. Default = 1

return.df

Logical: If TRUE, return data.frame, otherwise matrix. Default = TRUE

seed

Integer: Set seed for rnorm. Default = NULL

Author(s)

E.D. Gennatas


egenn/rtemis documentation built on Nov. 22, 2024, 4:12 a.m.