CAshiny: Correspondance Analysis (CA) with Factoshiny

View source: R/CAshiny.R

CAshinyR Documentation

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)

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

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

Author(s)

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

See Also

CA, plot.CA
shiny website

Examples

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

husson/Factoshiny documentation built on Sept. 19, 2023, 5:05 a.m.