Learn R Programming

ADtools (version 0.5.4)

rnorm0: Simulate univariate normal random variates

Description

Simulate univariate normal random variates

Usage

rnorm0(n, mean = 0, sd = 1)

# S4 method for numeric,dual,dual rnorm0(n, mean = 0, sd = 1)

# S4 method for numeric,ANY,dual rnorm0(n, mean = 0, sd = 1)

# S4 method for numeric,dual,ANY rnorm0(n, mean = 0, sd = 1)

Arguments

n

Positive integer; the number of samples.

mean

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

sd

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