Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/LogFrequencyBiplot.R

Biplot for the logarithms of the frequencies of a contingency table using the frequencies as weights.

1 | ```
LogFrequencyBiplot(x, Scaling = 2, logoffset = 1, freqoffset = logoffset, ...)
``` |

`x` |
The frequency table to be biplotted |

`Scaling` |
Transformation of the matrix after the logarithms |

`logoffset` |
Constant to add to the frequencies before calculating the logarithms. This is to avoid calculating the logaritm of zero, so, a covenient value for this argument is 1. |

`freqoffset` |
Constant to add to the frequencies before calculating the weigths. This is usually the same as the offset used to add to the frequencies but may be different when we do not want the frequencies zero to influence the biplot, i. e., we want zero weigths. |

`...` |
Any other parameter for the CrissCross procedure. |

Biplot for the logarithms of the frequencies of a contingency table using the frequencies as weigths.

An object of class .Biplot" with the following components:

`Title ` |
A general title |

`Non_Scaled_Data ` |
Original Data Matrix |

`Means ` |
Means of the original Variables |

`Medians ` |
Medians of the original Variables |

`Deviations ` |
Standard Deviations of the original Variables |

`Minima ` |
Minima of the original Variables |

`Maxima ` |
Maxima of the original Variables |

`P25 ` |
25 Percentile of the original Variables |

`P75 ` |
75 Percentile of the original Variables |

`Gmean ` |
Global mean of the complete matrix |

`Sup.Rows ` |
Supplementary rows (Non Transformed) |

`Sup.Cols ` |
Supplementary columns (Non Transformed) |

`Scaled_Data ` |
Transformed Data |

`Scaled_Sup.Rows` |
Supplementary rows (Transformed) |

`Scaled_Sup.Cols` |
Supplementary columns (Transformed) |

`n` |
Number of Rows |

`p` |
Number of Columns |

`nrowsSup` |
Number of Supplementary Rows |

`ncolsSup` |
Number of Supplementary Columns |

`dim` |
Dimension of the Biplot |

`EigenValues` |
Eigenvalues |

`Inertia` |
Explained variance (Inertia) |

`CumInertia` |
Cumulative Explained variance (Inertia) |

`EV` |
EigenVectors |

`Structure` |
Correlations of the Principal Components and the Variables |

`RowCoordinates` |
Coordinates for the rows, including the supplementary |

`ColCoordinates` |
Coordinates for the columns, including the supplementary |

`RowContributions` |
Contributions for the rows, including the supplementary |

`ColContributions` |
Contributions for the columns, including the supplementary |

`Scale_Factor` |
Scale factor for the traditional plot with points and arrows. The row coordinates are multiplied and the column coordinates divided by that scale factor. The look of the plot is better without changing the inner product. For the HJ-Biplot the scale factor is 1. |

Jose Luis Vicente Villardon

Gabriel, K. R., Galindo, M. P. & Vicente-Villardon, J. L. (1995) Use of Biplots to Diagnose Independence Models in Three-Way Contingency Tables. in: M. Greenacre & J. Blasius. eds. Visualization of Categorical Data. Academis Press. London.

GABRIEL, K.R. and ZAMIR, S. (1979). Lower rank approximation of matrices by least squares with any choice of weights. Technometrics, 21: 489-498.

`CrissCross`

, ~~~

1 2 | ```
data(smoking)
logbip=LogFrequencyBiplot(smoking, Scaling=1, logoffset=0, freqoffset=0)
``` |

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.