CAshiny | R Documentation |
Performs Correspondance Analysis (CA) including supplementary row and/or column points on a Shiny application.
Columns or rows with NA are considered as supplementary in the analysis.
Allows to change CA parameters and graphical parmeters.
Graphics can be downloaded in png, jpg and pdf.
CAshiny(X)
X |
a data frame or a table with n rows and p columns, i.e. a contingency table or a CAshiny result or a CA result |
Returns several tabs:
Graphs |
a tab containing the row and column points factor map (with supplementary columns and supplementary rows) |
Values |
a tab containing the summary of the CA performed, the eigenvalues, the results for the columns, for the rows, for the supplementary columns and for the supplementary rows. |
Summary of dataset |
a tab containing the summary of the dataset and a boxplot and histogram for quantitative variables. |
Data |
a tab containing the dataset with a nice display. |
The left part of the application allows to change all the elements of the CA and the graphs (axes,variables,colors...)
Pauline Vaissie, Astrid Monge, Francois Husson paulinevaissie@gmail.com
CA
, plot.CA
shiny website
## Not run:
require(FactoMineR)
data(children)
# Correspondance Analysis with Factoshiny:
res.shiny=CAshiny(children)
# Find your app the way you left it (by clicking on the "Quit the app" button)
res.shiny2=CAshiny(res.shiny)
#CAshiny on a result of a CA
data(children)
res.ca <- CA (children, row.sup = 15:18, col.sup = 6:8)
res.shiny=CAshiny(res.ca)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.