adjust: Adjusting for original scale

View source: R/adjust.R

adjustR 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

impCoda

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


robCompositions documentation built on Aug. 25, 2023, 5:13 p.m.