Change language to:
English - Français - 日本語 -

See the recommended documentation of this function

Manual Scilab >> Estatística > show_pca

# show_pca

Visualization of principal components analysis results

### Calling Sequence

`show_pca(lambda,facpr,N)`

### Arguments

lambda

is a p x 2 numerical matrix. In the first column we find the eigenvalues of V, where V is the correlation p x p matrix and in the second column are the ratios of the corresponding eigenvalue over the sum of eigenvalues.

facpr

are the principal factors: eigenvectors of V. Each column is an eigenvector element of the dual of `R^p`.

N

Is a 2x1 integer vector. Its coefficients point to the eigenvectors corresponding to the eigenvalues of the correlation matrix `p` by `p` ordered by decreasing values of eigenvalues. If `N`. is missing, we suppose `N=[1 2]`..

### Description

This function visualize the pca results.

### Examples

```a=rand(100,10,'n');
[lambda,facpr,comprinc] = pca(a);
show_pca(lambda,facpr)```