check_nuisance_models: Checks that nuisance models have been estimated and exist in...

View source: R/data-utils.R

check_nuisance_modelsR Documentation

Checks that nuisance models have been estimated and exist in the supplied dataset.

Description

This helper function makes a few simple checks to identify obvious issues with the way that nuisance functions are created and prepared.

Usage

check_nuisance_models(data)

Arguments

data

Dataframe which should have appropriate columns of nuisance function predictions: .pi_hat, .mu0_hat, and .mu1_hat

Value

Returns NULL. Errors if a problem is discovered.


tidyhte documentation built on Aug. 14, 2023, 5:08 p.m.