Learn R Programming

robCompositions (version 2.0.0)

adjust: 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’

Value

The object of class ‘imp’ but with the adjusted imputed data.

Details

It is self-explaining if you try the examples.

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

impCoda

Examples

Run this code

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

Run the code above in your browser using DataLab