new("DCARContControl", ...)
, DCARContControl(...)
or
ContControl(..., type="DCAR")
(the latter exists mainly for back
compatibility with early draft versions of simFrame
)."ContControl "
, directly.
Class "VirtualContControl "
, by class "ContControl", distance 2.
Class "OptContControl "
, by class "ContControl", distance 3.fun
and will not depend on on the original values."ContControl "
.simFrame
. Use
vignette("simFrame-intro")
to view this vignette.Alfons, A., Templ, M. and Filzmoser, P. (2010) Contamination Models in the RPackage
Hulliger, B. and Schoch, T. (2009) Robust Multivariate Imputation with Survey Data. 57th Session of the International Statistical Institute, Durban.
"DARContControl "
, "ContControl "
,
"VirtualContControl "
, contaminate
data(eusilcP)
sam <- draw(eusilcP[, c("id", "eqIncome")], size = 20)
cc <- DCARContControl(target = "eqIncome", epsilon = 0.05,
dots = list(mean = 5e+05, sd = 10000))
contaminate(sam, cc)
Run the code above in your browser using DataLab