lit {SparkR}R Documentation

Creates a Column of literal value.

Description

The passed in object is returned directly if it is already a Column. If the object is a Scala Symbol, it is converted into a Column also. Otherwise, a new Column is created to represent the literal value.

Usage

## S4 method for signature 'ANY'
lit(x)

lit(x)

See Also

Other normal_funcs: abs; bitwiseNOT, bitwiseNOT; expr, expr; greatest, greatest; ifelse; isNaN, isNaN; least, least; nanvl, nanvl; negate, negate; randn, randn, randn; rand, rand, rand; when


[Package SparkR version 1.5.2 Index]