rnorm_perfect: Simulate values from a perfect normal distribution

View source: R/rnormperfect.R

rnorm_perfectR Documentation

Simulate values from a perfect normal distribution

Description

Random generation for a perfect normal distribution with mean equal to mean and standard deviation equal to sd.

Usage

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

Arguments

n

number of observations. If length(n) > 1, the length is taken to be the number required.

mean

number of mean.

sd

number of standard deviation.

Details

The function will return the same set of quantiles for fixed n. In that sense there is not much randomness going on, and the function is mostly useful for illustrative purposes.

Value

Returns a vector of values from a perfect normal distribution

Author(s)

Claus Ekstrom claus@rprimer.dk

Examples


rnorm_perfect(30, mean=10, sd=2)


MESS documentation built on Aug. 21, 2023, 1:05 a.m.

Related to rnorm_perfect in MESS...