generateAliasesForIntersectedCols {SparkR}R Documentation

Creates a list of columns by replacing the intersected ones with aliases. The name of the alias column is formed by concatanating the original column name and a suffix.

Description

Creates a list of columns by replacing the intersected ones with aliases. The name of the alias column is formed by concatanating the original column name and a suffix.

Usage

generateAliasesForIntersectedCols(x, intersectedColNames, suffix)

Arguments

x

a DataFrame on which the

intersectedColNames

a list of intersected column names

suffix

a suffix for the column name

Value

list of columns


[Package SparkR version 1.6.1 Index]