This function provides estimated
coefficients from a fitted "abesspca
" object.
# S3 method for class 'abesspca'
coef(object, support.size = NULL, kpc = NULL, sparse = TRUE, ...)
An "abesspca
" project.
An integer vector specifies
the coefficient fitted at given support.size
.
If support.size = NULL
, then all coefficients would be returned.
Default: support.size = NULL
.
This parameter is omitted if sparse.type = "kpc"
.
An integer vector specifies
the coefficient fitted at given principal component.
If kpc = NULL
, then all coefficients would be returned.
Default: kpc = NULL
.
This parameter is omitted if sparse.type = "fpc"
.
A logical value, specifying whether the coefficients should be
presented as sparse matrix or not. Default: sparse = TRUE
.
Other arguments.
A matrix with length(support.size)
columns.
Each column corresponds to a sparse loading for the first principal component,
where the number of non-zeros entries depends on the support.size
.
print.abesspca
,
coef.abesspca
,
plot.abesspca
.