Learn R Programming

clinCompare (version 1.0.0)

check_compatibility: Check Compatibility of Two Datasets for Comparison

Description

Checks if two datasets are compatible for comparison by verifying their dimensions, column names, and data types. Returns a list indicating whether the datasets are compatible and detailing any structural differences.

Usage

check_compatibility(df1, df2)

Value

A list containing details about the compatibility of the datasets, including information on dimension equality and common columns.

Arguments

df1

The first data frame to be compared.

df2

The second data frame to be compared.