adjust {robCompositions} | R Documentation |
Adjusting for original scale
Description
Results from the model based iterative methods provides the results in another scale (but the ratios are still the same). This function rescale the output to the original scale.
Usage
adjust(x)
Arguments
x |
object from class ‘imp’ |
Details
It is self-explaining if you try the examples.
Value
The object of class ‘imp’ but with the adjusted imputed data.
Author(s)
Matthias Templ
References
Hron, K. and Templ, M. and Filzmoser, P. (2010) Imputation of missing values for compositional data using classical and robust methods Computational Statistics and Data Analysis, In Press, Corrected Proof, ISSN: 0167-9473, DOI:10.1016/j.csda.2009.11.023
See Also
Examples
data(expenditures)
x <- expenditures
x[1,3] <- x[2,4] <- x[3,3] <- x[3,4] <- NA
xi <- impCoda(x)
x
xi$xImp
adjust(xi)$xImp
[Package robCompositions version 2.4.1 Index]