gt_data_frame {ptetools} | R Documentation |
Convert Data to Usable Format
Description
Checks and converts data to satisfy criteria to be used in internal
ptetools
functions. In particular,
the function takes in a data.frame, checks if it has the right
columns to be used to calculate a group-time average treatment effect,
and sets the class of the data.frame to include gt_data_frame
Usage
gt_data_frame(data)
Arguments
data |
data that will be checked to see if has right format for computing group-time average treatment effects |
Value
gt_data_frame
object
[Package ptetools version 1.0.0 Index]