File: reconst.Rd

package info (click to toggle)
r-cran-factominer 2.11-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,008 kB
  • sloc: ansic: 192; sh: 4; makefile: 2
file content (33 lines) | stat: -rw-r--r-- 885 bytes parent folder | download
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
\name{reconst}

\alias{reconst}

\title{Reconstruction of the data from the PCA, CA or MFA results}

\description{
Reconstruct the data from the PCA, CA or MFA results.\cr
}

\usage{
reconst(res, ncp=NULL)}

\arguments{
  \item{res}{an object of class PCA, CA or MFA}
  \item{ncp}{number of dimensions used to reconstitute the data (by default NULL and the number of dimensions calculated for the PCA, CA or MFA is used)}
}

\value{
Returns a data frame with the number of individuals and the number of variables used for the PCA, CA or MFA
}

\author{Francois Husson \email{francois.husson@institut-agro.fr}, Julie Josse\email{Julie.Josse@agrocampus-ouest.fr}}

\seealso{ \code{\link{PCA}},\code{\link{CA}}, \code{\link{MFA}}}

\examples{
data(decathlon)
res.pca <- PCA(decathlon, quanti.sup = 11:12, quali.sup=13, graph=FALSE)
rec <- reconst(res.pca,ncp=2)
}

\keyword{multivariate}