struct {SparkR} | R Documentation |
Creates a new struct column that composes multiple input columns.
## S4 method for signature 'characterOrColumn' struct(x, ...) struct(x, ...)
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
;
rand
, rand
,
rand
; when
## Not run:
##D struct(df$c, df$d)
##D struct("col1", "col2")
## End(Not run)