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

write.infile

Print in a file


Description

Print in a file.

Usage

write.infile(X, file, sep=";", append = FALSE, nb.dec=4)

Arguments

X

an object of class list, data.frame, matrix, ...

file

A connection, or a character string naming the file to print to

sep

character string to insert between the objects to print (if the argument file is not NULL)

append

logical. If TRUE output will be appended to file; otherwise, it will overwrite the contents of file.

nb.dec

number of decimal printed, by default 4

Author(s)

Examples

## Not run: 
data(decathlon)
res.pca <- PCA(decathlon, quanti.sup = 11:12, quali.sup = 13)
write.infile(res.pca, file="c:/essai.csv", sep = ";")

## End(Not run)

FactoMineR

Multivariate Exploratory Data Analysis and Data Mining

v2.4
GPL (>= 2)
Authors
Francois Husson, Julie Josse, Sebastien Le, Jeremy Mazet
Initial release
2020-12-09

We don't support your browser anymore

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