print.mjca: Printing mjca objects

Description Usage Arguments Details See Also Examples

View source: R/print.mjca.r

Description

Printing method for multiple and joint correspondence analysis objects

Usage

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

Arguments

x

Multiple or joint correspondence analysis object returned by mjca

...

Further arguments are ignored

Details

The function print.mjca gives the basic statistics of the mjca 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.mjca 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

mjca

Examples

1
2
3
4
data("wg93")
print(mjca(wg93[,1:4]))
# equivalent to:
mjca(wg93[,1:4])

Example output

 Eigenvalues:
           1        2       3        4       5        6    
Value      0.076455 0.05822 0.009197 0.00567 0.001172 7e-06
Percentage 44.91%   34.2%   5.4%     3.33%   0.69%    0%   


 Columns:
              A:1      A:2       A:3       A:4       A:5       B:1      B:2
Mass     0.034156 0.092423  0.058553  0.051091  0.013777  0.020379 0.049943
ChiDist  1.343394 0.676433  0.947274  1.049164  2.214898  1.856041 1.034203
Inertia  0.061642 0.042289  0.052542  0.056238  0.067588  0.070203 0.053417
Dim. 1   1.836627 0.546240 -0.446797 -1.165903 -1.995217  2.924321 0.641516
Dim. 2  -0.727459 0.284443  1.199439 -0.736782 -2.470026 -1.370078 0.666938
             B:3       B:4       B:5       C:1      C:2       C:3       C:4
Mass    0.058840  0.080654  0.040184  0.043628 0.090700  0.056544  0.044202
ChiDist 0.933288  0.760011  1.294006  1.241063 0.688137  0.977789  1.148345
Inertia 0.051252  0.046587  0.067286  0.067197 0.042950  0.054060  0.058289
Dim. 1  0.346050 -0.714126 -1.353725  2.157782 0.246828 -0.618996 -1.348858
Dim. 2  0.963918  0.280071 -2.107677 -0.908553 0.591611  1.044412 -0.634647
              C:5       D:1       D:2       D:3       D:4       D:5
Mass     0.014925  0.017222  0.066590  0.057979  0.064868  0.043341
ChiDist  2.132827  1.915937  0.843092  0.962007  0.860714  1.136559
Inertia  0.067895  0.063217  0.047333  0.053657  0.048056  0.055986
Dim. 1  -1.467582  1.203782 -0.221151 -0.384656 -0.221635  0.707750
Dim. 2  -3.016588 -1.821975  0.006935  1.158694  0.210513 -1.151804

 Eigenvalues:
           1        2       3        4       5        6    
Value      0.076455 0.05822 0.009197 0.00567 0.001172 7e-06
Percentage 44.91%   34.2%   5.4%     3.33%   0.69%    0%   


 Columns:
              A:1      A:2       A:3       A:4       A:5       B:1      B:2
Mass     0.034156 0.092423  0.058553  0.051091  0.013777  0.020379 0.049943
ChiDist  1.343394 0.676433  0.947274  1.049164  2.214898  1.856041 1.034203
Inertia  0.061642 0.042289  0.052542  0.056238  0.067588  0.070203 0.053417
Dim. 1   1.836627 0.546240 -0.446797 -1.165903 -1.995217  2.924321 0.641516
Dim. 2  -0.727459 0.284443  1.199439 -0.736782 -2.470026 -1.370078 0.666938
             B:3       B:4       B:5       C:1      C:2       C:3       C:4
Mass    0.058840  0.080654  0.040184  0.043628 0.090700  0.056544  0.044202
ChiDist 0.933288  0.760011  1.294006  1.241063 0.688137  0.977789  1.148345
Inertia 0.051252  0.046587  0.067286  0.067197 0.042950  0.054060  0.058289
Dim. 1  0.346050 -0.714126 -1.353725  2.157782 0.246828 -0.618996 -1.348858
Dim. 2  0.963918  0.280071 -2.107677 -0.908553 0.591611  1.044412 -0.634647
              C:5       D:1       D:2       D:3       D:4       D:5
Mass     0.014925  0.017222  0.066590  0.057979  0.064868  0.043341
ChiDist  2.132827  1.915937  0.843092  0.962007  0.860714  1.136559
Inertia  0.067895  0.063217  0.047333  0.053657  0.048056  0.055986
Dim. 1  -1.467582  1.203782 -0.221151 -0.384656 -0.221635  0.707750
Dim. 2  -3.016588 -1.821975  0.006935  1.158694  0.210513 -1.151804

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

Related to print.mjca in ca...