Biplot for the logarithms of the frequencies of a contingency table using the frequencies as weights.
LogFrequencyBiplot(x, Scaling = 2, logoffset = 1, freqoffset = logoffset, ...)
An object of class .Biplot" with the following components:
A general title
Original Data Matrix
Means of the original Variables
Medians of the original Variables
Standard Deviations of the original Variables
Minima of the original Variables
Maxima of the original Variables
25 Percentile of the original Variables
75 Percentile of the original Variables
Global mean of the complete matrix
Supplementary rows (Non Transformed)
Supplementary columns (Non Transformed)
Transformed Data
Supplementary rows (Transformed)
Supplementary columns (Transformed)
Number of Rows
Number of Columns
Number of Supplementary Rows
Number of Supplementary Columns
Dimension of the Biplot
Eigenvalues
Explained variance (Inertia)
Cumulative Explained variance (Inertia)
EigenVectors
Correlations of the Principal Components and the Variables
Coordinates for the rows, including the supplementary
Coordinates for the columns, including the supplementary
Contributions for the rows, including the supplementary
Contributions for the columns, including the supplementary
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.
The frequency table to be biplotted
Transformation of the matrix after the logarithms
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.
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.
Jose Luis Vicente Villardon
Biplot for the logarithms of the frequencies of a contingency table using the frequencies as weigths.
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
, ~~~
data(smoking)
logbip=LogFrequencyBiplot(smoking, Scaling=1, logoffset=0, freqoffset=0)
Run the code above in your browser using DataLab