cov,hyperSpec,missing-method {hyperSpec} | R Documentation |
Covariance matrices for hyperSpec objects
Description
Covariance matrices for hyperSpec objects
Usage
## S4 method for signature 'hyperSpec,missing'
cov(
x,
y = NULL,
use = "everything",
method = c("pearson", "kendall", "spearman")
)
pooled.cov(x, groups, ..., regularize = 1e-05 * max(abs(COV)))
Arguments
x |
hyperSpec object |
y |
not supported |
use , method |
handed to |
groups |
factor indicating the groups |
... |
ignored |
regularize |
regularization of the covariance matrix. Set
|
Value
covariance matrix of size nwl (x)
x nwl (x)
Author(s)
C. Beleites
See Also
Examples
image (cov (chondro))
pcov <- pooled.cov (chondro, chondro$clusters)
plot (pcov$means)
image (pcov$COV)
[Package hyperSpec version 0.100.2 Index]