Learn R Programming

Factoshiny (version 2.5)

CAshiny: Correspondance Analysis (CA) with Factoshiny

Description

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.

Usage

CAshiny(X)

Value

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...)

Arguments

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

Author

Pauline Vaissie, Astrid Monge, Francois Husson paulinevaissie@gmail.com

See Also

CA, plot.CA
shiny website

Examples

Run this code
if (FALSE) {
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)
}

Run the code above in your browser using DataLab