| Treat.purse | R Documentation |
This function calls Treat.coin() for each coin in the purse. See the documentation of that function for
details. See also vignette("treat").
## S3 method for class 'purse' Treat( x, dset, global_specs = NULL, indiv_specs = NULL, combine_treat = FALSE, write_to = NULL, ... )
x |
A purse object |
dset |
The data set to treat in each coin. |
global_specs |
Default specifications. See details in |
indiv_specs |
Individual specifications. See details in |
combine_treat |
By default, if |
write_to |
If specified, writes the aggregated data to |
... |
arguments passed to or from other methods. |
An updated purse with new treated data sets added at .$Data$Treated in each coin, plus
analysis information at .$Analysis$Treated
# See `vignette("treat")`.