Learn R Programming

dimensio (version 0.10.1)

export: Export Results

Description

Creates a Zip archive of all results in CSV format.

Usage

export(object, ...)

# S4 method for MultivariateAnalysis export(object, file, flags = "-r9Xj", ...)

Arguments

object

A CA, MCA or PCA object.

...

Currently not used.

file

A character string specifying the pathname of the zip file.

flags

A character string of flags (see utils::zip()).

Author

N. Frerebeau

See Also

utils::write.csv(), utils::zip()

Other getters: get_contributions(), get_coordinates(), get_data(), get_eigenvalues()

Examples

Run this code
if (FALSE) {
## Load data
data("iris")

## Compute principal components analysis
X <- pca(iris)

## Export results
export(X, file = "results.zip")
}

Run the code above in your browser using DataLab