Learn R Programming

SparkR (version 2.1.2)

column: 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 jobj column(x)

# S4 method for character column(x)

Arguments

x

Character column name.

Slots

jc

reference to JVM SparkDataFrame column

See Also

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

Examples

Run this code
# NOT RUN {
column("name")
# }

Run the code above in your browser using DataLab