organizeColumns: Organize columns for final union data

View source: R/fakeunion_functions.r

organizeColumnsR Documentation

Organize columns for final union data

Description

This is an internal function used by generateCouples to organize the final dataset returned from the function.

Usage

organizeColumns(couples, geo, keep = NULL)

Arguments

couples

A data frame of the actual and counterfactual couples.

geo

A character string giving the name of the clustering variable.

keep

A vector of character strings giving additional variables to keep that don't end in "h" or "w".


AaronGullickson/fakeunion documentation built on Aug. 6, 2023, 7:19 p.m.