| rand {SparkR} | R Documentation |
Generate a random column with independent and identically distributed (i.i.d.) samples from U[0.0, 1.0].
rand(seed) ## S4 method for signature 'missing' rand(seed) ## S4 method for signature 'numeric' rand(seed)
seed |
a random seed. Can be missing. |
rand since 1.5.0
rand(numeric) since 1.5.0
Other normal_funcs: abs,
bitwiseNOT, coalesce,
column, expr,
from_json, greatest,
ifelse, isnan,
least, lit,
nanvl, negate,
randn, struct,
to_json, when
## Not run: rand()