Learn R Programming

mcmodule (version 1.2.0)

keys_match: Match and Align Keys Between Datasets

Description

Matches and aligns keys between two datasets for downstream operations.

Usage

keys_match(x, y, keys_names = NULL)

Value

A list containing:

x

First dataset with group IDs

y

Second dataset with group IDs

xy

Matched datasets with aligned group and scenario IDs

Arguments

x

First dataset containing keys to match

y

Second dataset containing keys to match

keys_names

Names of columns to use as matching keys. If NULL, uses common columns