Learn R Programming

Rfast (version 1.3)

Random generation for the normal distribution: Random generation for the normal distribution

Description

Random generation for the normal distribution.

Usage

Rnorm(n)

Arguments

n
The size of the numbers you want to returned.

Value

A vector with the column indices which are factor variables. If there are no factor variables it will return an empty vector.

Details

The function is written in C++ and this is why it is very fast.

See Also

Rpois,Runif

Examples

Run this code
Rnorm(1000)

Run the code above in your browser using DataLab