Description Usage Arguments Details Value See Also Examples
View source: R/multivariance-functions.R
Computes simultaneously multivariance, total multivariance, 2-multivariance and 3-multivariance.
1 | multivariances.all(x, vec = NA, Nscale = TRUE, squared = TRUE, ...)
|
x |
either a data matrix or a list of doubly centered distance matrices |
vec |
if x is a matrix, then this indicates which columns are treated together as one sample; if x is a list, these are the indexes for which the multivariance is calculated. The default is all columns and all indexes, respectively. |
Nscale |
if |
squared |
if |
... |
these are passed to |
The computation is faster than the separate computations.
Returns a vector with multivariance, total.multivariance, 2-multivariance and 3-multivariance
multivariance
, total.multivariance
, m.multivariance
1 2 3 4 5 6 7 | x = coins(100,k = 3)
multivariances.all(x)
# yields the same as:
multivariance(x)
total.multivariance(x)
m.multivariance(x,m=2)
m.multivariance(x,m=3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.