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) {
  return(
    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 June 22, 2024, 7:20 p.m.