rnorm0 {ADtools}R Documentation

Simulate univariate normal random variates

Description

Simulate univariate normal random variates

Usage

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

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

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

## S4 method for signature '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.


[Package ADtools version 0.5.5 Index]