column {SparkR}R Documentation

S4 class that represents a SparkDataFrame column

Description

The column class supports unary, binary operations on SparkDataFrame columns

Returns a Column based on the given column name.

Usage

column(x)

## S4 method for signature 'jobj'
column(x)

## S4 method for signature 'character'
column(x)

Arguments

x

Character column name.

Slots

jc

reference to JVM SparkDataFrame column

Note

Column since 1.4.0

column since 1.6.0

See Also

Other normal_funcs: abs, bitwiseNOT, coalesce, expr, from_json, greatest, ifelse, isnan, least, lit, nanvl, negate, randn, rand, struct, to_json, when

Examples

## Not run: column("name")

[Package SparkR version 2.2.2 Index]