fortify_ca: Extract information from a Correspondence Analysis Extract...

Usage Arguments Value Author(s) See Also

Usage

1
2
3
4
5
## S3 method for class 'correspondence'
fortify(model, data = NULL, PC = c(1, 2), ...)

## S3 method for class 'CA'
fortify(model, data = NULL, PC = c(1, 2), ...)

Arguments

model

an object resulting from a CA

data

the original dataset, use to compute the contributions of rows and columns to the principal components. When NULL, the default, data will be extracted from the CA object when it contains it

PC

the principal components to extract; two is usual for plotting

...

pass-through argument

Value

A data.frame containing

.id

the identifier of the rows (row name) or columns (column name)

.PC#

the scores of rows or columns on the extracted principal components

.cos2

the squared cosine summed over all extracted PCs

.contrib

the contribution to the selected PCs

.type

the nature of the data extracted : rows, columns and possibly their status (active or supplementary)

Author(s)

Jean-Olivier Irisson irisson@normalesup.org

See Also

autoplot_ca to produce plots based on the output of fortify.


jiho/autoplot documentation built on May 19, 2019, 9:29 a.m.