| rnormmat | R Documentation |
Create a matrix or data frame of defined dimensions, whose columns are random normal vectors
rnormmat(
nrow = 10,
ncol = 10,
mean = 0,
sd = 1,
return_df = FALSE,
seed = NULL
)
nrow |
Integer: Number of rows. |
ncol |
Integer: Number of columns. |
mean |
Float: Mean. |
sd |
Float: Standard deviation. |
return_df |
Logical: If TRUE, return data.frame, otherwise matrix. |
seed |
Integer: Set seed for |
matrix or data.frame.
EDG
x <- rnormmat(20, 5, mean = 12, sd = 6, return_df = TRUE, seed = 2026)
x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.