Learn R Programming

ADtools (version 0.5.4)

rmvnorm0_dual: Simulate multivariate normal random variates

Description

Simulate multivariate normal random variates

Usage

rmvnorm0_dual(n, mean, sigma)

# S4 method for numeric,dual,dual rmvnorm0(n, mean, sigma)

# S4 method for numeric,dual,ANY rmvnorm0(n, mean, sigma)

# S4 method for numeric,ANY,dual rmvnorm0(n, mean, sigma)

Arguments

n

Positive integer; the number of samples.

mean

A numeric vector or a dual number; the mean of the normal distribution.

sigma

A numeric matrix or a dual number; the standard deviation of the normal distribution.