phi2Mat4BurtTable | R Documentation |
phi2Mat4BurtTable
Compute the phi2 (correlation) matrix
for data tables suitable for Multiple Correspondence Analysis
(MCA).
phi2Mat4BurtTable(DATA, make_data_nominal = TRUE)
DATA |
A data table suitable for MCA.
Could be an I by K data frame / matrix
with columns being factors, or an already
I by J
expanded matrix with 0/1 (as created for example
with |
make_data_nominal |
(Default: TRUE)
when |
The phi2 matrix from phi2Mat4BurtTable
can be used to create correlation heat maps for MCA.
A list with
phi2.mat
: The phi2 correlation matrix
and
burt.table
: the Burt table.
## Not run: if(interactive()){ library(ExPosition) data("mca.wine") phi2Mat4BurtTable(mca.wine$data) } ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.