compare_init_post: Compare two data.frames (initial and post treatment)

View source: R/utils.R

compare_init_postR Documentation

Compare two data.frames (initial and post treatment)

Description

In this comparison, all elements from init data.frame should appear inside post data.frame post data.frame can only have new columns but no new rows.

Usage

compare_init_post(init, post, key = NULL)

Arguments

init

a data.frame (initial data.frame)

post

a data.frame (post treatment data.frame)

key

by default (NULL) the row order of both data.frame has to be the same. by using a key column name, both data.frames are ordered before being compared.

Details

This function doesn't return anything but creates warnings if there are mismatches.

Value

invisible(0)


JMPivette/evavelo documentation built on April 8, 2023, 4:20 p.m.