adjust: Adjusting for original scale

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/adjust.R

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

1
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

1
2
3
4
5
6
7
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 Jan. 13, 2021, 10:07 p.m.