Learn R Programming

SparkR (version 2.1.2)

randn: randn

Description

Generate a column with independent and identically distributed (i.i.d.) samples from the standard normal distribution.

Usage

randn(seed)

# S4 method for missing randn(seed)

# S4 method for numeric randn(seed)

Arguments

seed

a random seed. Can be missing.

See Also

Other normal_funcs: abs, bitwiseNOT, coalesce, column, expr, greatest, ifelse, isnan, least, lit, nanvl, negate, rand, struct, when

Examples

Run this code
# NOT RUN {
randn()
# }

Run the code above in your browser using DataLab