Treat.purse {COINr} | R Documentation |
Treat a purse of coins for outliers
Description
This function calls Treat.coin()
for each coin in the purse. See the documentation of that function for
details. See also vignette("treat")
.
Usage
## S3 method for class 'purse'
Treat(
x,
dset,
global_specs = NULL,
indiv_specs = NULL,
combine_treat = FALSE,
write_to = NULL,
disable = FALSE,
...
)
Arguments
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 |
disable |
Logical: if |
... |
arguments passed to or from other methods. |
Value
An updated purse with new treated data sets added at .$Data$Treated
in each coin, plus
analysis information at .$Analysis$Treated
Examples
# See `vignette("treat")`.