col {SparkR}R Documentation

Though scala functions has "col" function, we don't expose it in SparkR because we don't want to conflict with the "col" function in the R base package and we also have "column" function exported which is an alias of "col".

Description

Though scala functions has "col" function, we don't expose it in SparkR because we don't want to conflict with the "col" function in the R base package and we also have "column" function exported which is an alias of "col".

Returns a Column based on the given column name.

Usage

col(x)

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

column(x)

See Also

Other normal_funcs: abs; bitwiseNOT, bitwiseNOT; expr, expr; greatest, greatest; ifelse; is.nan, isnan, isnan; least, least; lit, lit; nanvl, nanvl; negate, negate; randn, randn, randn; rand, rand, rand; struct, struct; when

Examples

## Not run: column(df)

[Package SparkR version 1.6.1 Index]