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