e_coalesce_column_set: Coalesce column set

View source: R/e_complete_multiple_keys_ALL.R

e_coalesce_column_setR Documentation

Coalesce column set

Description

For a set of key variables that are unique for participants, identify sets of rows with unique key variables in common and collapse them together to have a single "most complete" row of key values by removing the NAs. Each key variable must have a unique value for each participant.

Usage

e_coalesce_column_set(dat)

Arguments

dat

data.frame keys to combine

Value

data.frame with most complete key rows


erikerhardt/erikmisc documentation built on April 17, 2025, 10:48 a.m.