vnorm: Normally-Distributed Vector

Description Usage Arguments See Also Examples

Description

Creates a vector of randomly-generated, normally-distributed numbers with specified mean and sd.

Usage

1
vnorm(100, 15, 3)

Arguments

n

Number of items

mean

Mean of the normal distribution

sd

SD of the normal distribution

See Also

scale

rnorm

Examples

1
2
x <- vnorm(100, 15, 3)
all(length(x) == 100, mean(x) == 15, sd(x) == 3)

opelr/opelR documentation built on May 3, 2019, 5:49 p.m.