R/randomGaussian-random-gaussian-z-dot.R

Defines functions .RandomGaussianZ

#' Matrix of Standard Normal Random Variates
#'
#' @author Ivan Jacob Agaloos Pesigan
#'
#' @param n Positive integer.
#'   Number of rows.
#' @param k Positive integer.
#'   Number of columns.
#'
#' @return Numeric matrix.
#'
#' @family Random Gaussian Functions
#' @keywords randomGaussian random z internal
#' @noRd
.RandomGaussianZ <- function(n,
                             k) {
  matrix(
    data = stats::rnorm(
      n = n * k
    ),
    nrow = n,
    ncol = k
  )
}

Try the semmcci package in your browser

Any scripts or data that you put into this service are public.

semmcci documentation built on Nov. 6, 2025, 1:08 a.m.