Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

caScatter

Scatterplot visualization facility


Description

This function allows to get different types of CA scatterplots. It is just a wrapper for functions from the 'ca' and 'FactoMineR' packages.

Usage

caScatter(data, x = 1, y = 2, type)

Arguments

data

Name of the contingency table (must be in dataframe format).

x

First dimension to be plotted (x=1 by default).

y

Second dimensions to be plotted (y=2 by default).

type

Type of scatterplot to be returned (see examples).

See Also

Examples

data(greenacre_data)

# symmetric scatterplot for rows and columns
caScatter(greenacre_data, 1, 2, type=1) 

# Standard Biplot; 2 plots are returned:
#one with row-categories vectors displayed, one for columns categories vectors.
caScatter(greenacre_data, 1, 2, type=2) 

# scaterplot of row categories with groupings
#shown by different colors; scatterplot for column categories is also returned
caScatter(greenacre_data, 1, 2, type=3) 

# 3D scatterplot with cluster tree for row categories;
#scatterplot for column categories is also returned.
caScatter(greenacre_data, 1, 2, type=4)

CAinterprTools

Graphical Aid in Correspondence Analysis Interpretation and Significance Testings

v1.1.0
GPL
Authors
Gianmarco Alberti [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.