components | R Documentation |
Extracts the components scores of an invariant coordinate system obtained via an ICS transformation.
components(x, ...)
## S3 method for class 'ICS'
components(x, select = NULL, drop = FALSE, index = NULL, ...)
x |
an object inheriting from class |
... |
additional arguments to be passed down. |
select |
an integer, character, or logical vector specifying which
components to extract, or |
drop |
a logical indicating whether to return a vector rather than a
matrix in case a single component is extracted (default to |
index |
an integer vector specifying which components to extract, or
|
A numeric matrix or vector containing the requested components.
Andreas Alfons and Aurore Archimbaud
ICS()
gen_kurtosis()
, coef()
,
fitted()
, and plot()
methods
data("iris")
X <- iris[,-5]
out <- ICS(X)
components(out)
components(out, select = c(1,4))
components(out, select = 1, drop = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.