Learn R Programming

dimensio (version 0.9.0)

summary: Object Summaries

Description

Provides a summary of the results of a multivariate data analysis.

Usage

# S4 method for CA
summary(object, ..., margin = 1, active = TRUE, sup = TRUE, rank = 3)

# S4 method for PCA summary(object, ..., margin = 1, active = TRUE, sup = TRUE, rank = 3)

Arguments

object

A CA, MCA or PCA object.

...

Currently not used.

margin

A length-one numeric vector giving the subscript which the data will be summarized: 1 indicates individuals/rows (the default), 2 indicates variables/columns.

active

A logical scalar: should the active observations be summarized?

sup

A logical scalar: should the supplementary observations be summarized?

rank

An integer value specifying the maximal number of components to be kept in the results.

Author

N. Frerebeau

See Also

Other summary: tidy()

Examples

Run this code
## Data from Lebart et al. 2006, p. 170-172
data("colours")

## Compute correspondence analysis
X <- ca(colours)

## Rows summary
summary(X, margin = 1)

## Columns summary
summary(X, margin = 2)

Run the code above in your browser using DataLab