https://github.com/cran/robCompositions
Tip revision: 45c93a18fe3e83941bd865d89680d47d6b1d846e authored by Matthias Templ on 15 May 2012, 00:00:00 UTC
version 1.6.0
version 1.6.0
Tip revision: 45c93a1
rz.R
require(robCompositions)
data(expenditures)
xOrig <- x <- expenditures
## DL as negative values
x[x < 350] <- - 350
#impCoda2(x)
## DL given:
#impCoda2(xOrig, dl=c(0, 350, 350, 350, 350))
#imp <- impCoda(x, method='roundedZero')
#imp2 <- alrEM(x, pos=2, dl=rep(5,3))$xImp