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