1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
\name{write.infile}
\alias{write.infile}
\title{Print in a file}
\description{
Print in a file.
}
\usage{
write.infile(X, file, sep=";", append = FALSE, nb.dec=4)
}
\arguments{
\item{X}{an object of class list, data.frame, matrix, ...}
\item{file}{A connection, or a character string naming the file to print to}
\item{sep}{character string to insert between the objects to print
(if the argument file is not NULL)}
\item{append}{logical. If TRUE output will be
appended to file; otherwise, it will overwrite the contents
of file.}
\item{nb.dec}{number of decimal printed, by default 4}
}
\author{Francois Husson \email{francois.husson@institut-agro.fr}}
\examples{
\dontrun{
data(decathlon)
res.pca <- PCA(decathlon, quanti.sup = 11:12, quali.sup = 13)
write.infile(res.pca, file="c:/essai.csv", sep = ";")
}
}
\keyword{print}
|