calculate_diagnostics {tidyhte}R Documentation

Calculate diagnostics

Description

This function calculates the diagnostics requested by the Diagnostics_cfg object.

Usage

calculate_diagnostics(data, treatment, outcome, .diag.cfg)

Arguments

data

Data frame with all additional columns (such as model predictions) included.

treatment

Unquoted treatment variable name

outcome

Unquoted outcome variable name

.diag.cfg

Diagnostics_cfg object

Value

Returns a tibble with columns:

See Also

Diagnostics_cfg


[Package tidyhte version 1.0.2 Index]