Description Usage Arguments Value Author(s) See Also Examples
Subtracts the mean from each group in the data set to shift it to the origin, lumps the data, and computes principal components: if PCs for all groups are the same, this gives an estimate of CPC
1 | pooled.cpc(x, f, use="complete.obs")
|
x |
a numeric matrix (or data frame with all numeric values, or (if f is missing) a list of a data matrix and a grouping variable |
f |
a factor describing the group structure of the data |
use |
method for missing observations when computing covariances
(see |
A matrix of the common principal components (eigenvector of the variance-covariance matrix) of the pooled data
Ben Bolker
1 2 | X = simdata(npts=1000)
pooled.cpc(X)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.