rand {SparkR}R Documentation

rand

Description

Generate a random column with i.i.d. samples from U[0.0, 1.0].

Usage

## S4 method for signature 'missing'
rand(seed)

## S4 method for signature 'numeric'
rand(seed)

rand(seed)

See Also

Other normal_funcs: abs; bitwiseNOT, bitwiseNOT; col, column, column; expr, expr; greatest, greatest; ifelse; is.nan, isnan, isnan; least, least; lit, lit; nanvl, nanvl; negate, negate; randn, randn, randn; struct, struct; when

Examples

## Not run: rand()

[Package SparkR version 1.6.3 Index]