summary: Object Summaries

summaryR Documentation

Object Summaries

Description

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

Usage

## S4 method for signature 'MultivariateSummary'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)

## S4 method for signature 'CA'
summary(
  object,
  ...,
  axes = c(1, 2),
  margin = 1,
  active = TRUE,
  sup = TRUE,
  rank = NULL
)

## S4 method for signature 'PCA'
summary(
  object,
  ...,
  axes = c(1, 2),
  margin = 1,
  active = TRUE,
  sup = TRUE,
  rank = NULL
)

Arguments

x

A MultivariateSummary object.

row.names

A character vector giving the row names for the data frame, or NULL.

optional

A logical scalar: should the names of the variables in the data frame be checked? If FALSE then the names of the variables in the data frame are checked to ensure that they are syntactically valid variable names and are not duplicated.

...

Currently not used.

object

A CA, MCA or PCA object.

axes

A length-two numeric vector giving the dimensions to be summarized.

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. Deprecated, use axes instead.

Author(s)

N. Frerebeau

See Also

Other summary: describe(), tidy()

Examples

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

dimensio documentation built on April 3, 2025, 10:36 p.m.