dot-combineColumns: Combine and Unite Columns

.combineColumnsR Documentation

Combine and Unite Columns

Description

This function takes a data frame, identifies columns that are not specified in the exclusion list, and combines them into a new column called 'group'. The original columns used for the combination are then removed. Finally, it returns a data frame with only the 'group', 'variables', 'std_diff', and 'balance' columns.

Usage

.combineColumns(df)

Arguments

df

A data frame containing the columns to be combined.

Value

A data frame with the combined 'group' column and specified columns.


imt documentation built on Sept. 11, 2024, 5:41 p.m.