reconstructData {Harman} | R Documentation

## Reconstruct corrected data from Harman results

### Description

Method which reverts the PCA factorisation for instances of `harmanresults`. This allows the original or corrected data to be returned back from the PCA domain into the original data domain.

### Usage

    reconstructData(object, this = "corrected")

### Arguments

`object` | An instance of `harmanresults`.
`this` | string, legal values are `original` or `corrected`.

### Value

`matrix` of data

### See Also

`harman` `harmanresults`

### Examples

    library(HarmanData)
    data(OLF)
    expt <- olf.info$Treatment
    batch <- olf.info$Batch
    olf.harman <- harman(olf.data, expt, batch)
    olf.data.corrected <- reconstructData(olf.harman)

[Package Harman version 1.8.0 Index]