dataCompat: Formatting data to be compatible wth plotting

Description Usage Arguments Value

View source: R/summaryFcns.R

Description

This is an internal function to rename covariates within the dataset.

Usage

1
dataCompat(ds, outcome, treatment, estITE = NULL, group)

Arguments

ds

Data to be formatted.

outcome

The column index of the outcome variable.

treatment

The column index of the treatment variable.

estITE

The column index of the estimated ITE variable.

group

The column index of the grouping variable.

Value

The dataset with values in tact, but column names changed to be compatible with plotting functions


sanoke/hetviz documentation built on March 4, 2020, 7:58 a.m.