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