data_match {psc}R Documentation

A function to ensure that data from the cfm and data cohort are compatible

Description

The purpose of this function is to run a series of checks to ensure that the data included in the data cohort is comparable to the counter-factual model

Usage

data_match(cls, lev, dc.data)

Arguments

cls

a list of extracted data classes

lev

a list of factor levels

dc.data

dataset to be 'cleaned'

Value

a dataset which is checked and compatible with the CFM


[Package psc version 1.3.0 Index]