| DARContControl {simFrame} | R Documentation |
Create objects of class "DARContControl".
DARContControl(...)
... |
arguments passed to new("DARContControl", ...). |
An object of class "DARContControl".
Andreas Alfons, alfons@statistik.tuwien.ac.at
require(MASS)
mu <- rep(0, 2)
Sigma <- matrix(c(1, 0.5, 0.5, 1), 2, 2)
foo <- generate(size = 10, distribution = mvrnorm,
dots = list(mu = mu, Sigma = Sigma))
cc <- DARContControl(target = "V2",
epsilon = 0.2, fun = function(x) x * 100)
contaminate(foo, cc)