Description Usage Arguments Details Value Author(s) References Examples

View source: R/print.CAvariants.R

This function prints the results of any of the specified six variants of correspondence analysis.

The input parameter is the name of the output of the main function `CAvariants`

.

1 2 3 |

`x` |
The name of the output object, for example say |

`printdims` |
The number of dimensions, |

`ellprint` |
The flag parameter, |

`Mell` |
The number of axes |

`alpha` |
The level of significance used for the construction of the elliptical regions. By default, |

`digits` |
The minimum number of decimal places, |

`...` |
Further arguments passed to or from other methods. |

This function uses another function (called `printwithaxes`

) for specifying the number of matrix dimensions to print.

The value of output returned depends on the kind of correspondence analysis performed

`Xtable` |
The two-way contingency table. |

`Row weights: Imass` |
The row weight matrix. These weights depend on the type of analysis performed. |

`Column weights: Jmass` |
The column weight matrix. These weights are equal to the data column margins for all types of analysis performed. |

`Total inertia` |
The total inertia of the analysis performed. For example, when considering the variants |

`Inertias` |
The inertia values, their percentage contribution to the total inertia and the cumulative |

`Generalized correlation matrix` |
The generalized correlation matrix when performing an ordered correspondence analysis, |

`Row principal coordinates` |
The row principal coordinates when |

`Column principal coordinates` |
The column principal coordinates when |

`Row standard coordinates ` |
The row standard coordinates when |

`Column standard coordinates` |
The column standard coordinates when |

`Row principal polynomial coordinates` |
The row principal polynomial coordinates when performing an ordered correspondence analysis. |

`Column principal polynomial coordinates` |
The column principal coordinates when performing a doubly ordered correspondence analysis. |

`Row standard polynomial coordinates ` |
The row standard polynomial coordinates, i.e. standard polynomial coordinates for the row categories, when performing a doubly ordered correspondence analysis. |

`Column standard polynomial coordinates` |
The column standard polynomial coordinates, i.e. standard polynomial coordinates for the column categories, when performing an ordered correspondence analysis. |

`Row distances from the origin of the plot` |
The Euclidean distance of the row categories from the origin of the plot. |

`Column distances from the origin of the plot` |
The Euclidean distance of the column categories from the origin of the plot. |

`Polynomial components` |
The polynomial components of the total inertia and their p-values. The total inertia of the column space |

`Inner product` |
The inner product of the biplot coordinates (concerning the first two axes when |

`ellprint ` |
When the input flag parameter is |

Rosaria Lombardo and Eric J. Beh

Beh EJ and Lombardo R 2014 Correspondence Analysis: Theory, Practice and New Strategies. John Wiley & Sons.

1 2 3 | ```
data(asbestos)
risasbestos<-CAvariants(asbestos, catype = "DOCA", firstaxis = 1, lastaxis = 2)
print(risasbestos)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.