fitted.ICS-S3 | R Documentation |
Computes the fitted values based on an invariant coordinate system obtained via an ICS transformation. When using all components, computing the fitted values constitutes a backtransformation to the observed data. When using fewer components, the fitted values can often be viewed as reconstructions of the observed data with noise removed.
## S3 method for class 'ICS'
fitted(object, select = NULL, index = NULL, ...)
object |
an object inheriting from class |
select |
an integer, character, or logical vector specifying which
components to use for computing the fitted values, or |
index |
an integer vector specifying which components to use for
computing the fitted values, or |
... |
additional arguments are ignored. |
A numeric matrix containing the fitted values.
Andreas Alfons and Aurore Archimbaud
ICS()
gen_kurtosis()
, coef()
,
components()
, and plot()
methods
data("iris")
X <- iris[,-5]
out <- ICS(X)
fitted(out)
fitted(out, select = 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.