print.ca: Printing ca objects

Description Usage Arguments Details See Also Examples

View source: R/print.ca.r

Description

Printing method for correspondence analysis objects

Usage

1
2
## S3 method for class 'ca'
print(x, ...) 

Arguments

x

Simple correspondence analysis object returned by ca

...

Further arguments are ignored

Details

The function print.ca gives the basic statistics of the ca object. First the eigenvalues (that is, principal inertias) and their percentages with respect to total inertia are printed. Then for the rows and columns respectively, the following are printed: the masses, chi-square distances of the points to the centroid (i.e., centroid of the active points), point inertias (for active points only) and principal coordinates on the first nd dimensions requested (default = 2 dimensions). The function summary.ca gives more detailed results about the inertia contributions of each point on each principal axis.
For supplementary points, masses and inertias are not applicable.

See Also

ca

Examples

1
2
data("smoke")
print(ca(smoke))

Example output

 Principal inertias (eigenvalues):
           1        2        3       
Value      0.074759 0.010017 0.000414
Percentage 87.76%   11.76%   0.49%   


 Rows:
               SM        JM        SE       JE        SC
Mass     0.056995  0.093264  0.264249 0.455959  0.129534
ChiDist  0.216559  0.356921  0.380779 0.240025  0.216169
Inertia  0.002673  0.011881  0.038314 0.026269  0.006053
Dim. 1  -0.240539  0.947105 -1.391973 0.851989 -0.735456
Dim. 2  -1.935708 -2.430958 -0.106508 0.576944  0.788435


 Columns:
             none    light   medium     heavy
Mass     0.316062 0.233161 0.321244  0.129534
ChiDist  0.394490 0.173996 0.198127  0.355109
Inertia  0.049186 0.007059 0.012610  0.016335
Dim. 1  -1.438471 0.363746 0.718017  1.074445
Dim. 2  -0.304659 1.409433 0.073528 -1.975960

ca documentation built on Jan. 24, 2020, 9:06 a.m.

Related to print.ca in ca...