https://github.com/cran/nFactors
Raw File
Tip revision: d698320a894fbd444a99aa3d4dbce1f129cb82ac authored by Gilles Raiche on 28 March 2020, 04:50:06 UTC
version 2.4.1
Tip revision: d698320
nFactorsObjectMethods.rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/nFactorsObjectMethods.r
\name{is.nFactors}
\alias{is.nFactors}
\alias{print.nFactors}
\alias{summary.nFactors}
\title{Utility Functions for nFactors Class Objects}
\usage{
is.nFactors(x)

\method{print}{nFactors}(x, ...)

\method{summary}{nFactors}(object, ...)
}
\arguments{
\item{x}{nFactors: an object of the class nFactors}

\item{...}{variable: additionnal parameters to give to the \code{print}
function with \code{print.nFactors} or to the \code{summary} function with
\code{summary.nFactors}}

\item{object}{nFactors: an object of the class nFactors}
}
\value{
Generic functions for the nFactors class:

\item{is.nFactors}{ logical: is the object of the class nFactors? }
\item{print.nFactors }{ numeric: vector of the number of components/factors
to retain: same as the \code{nFactors} vector from the \code{nFactors}
object} \item{summary.nFactors }{ data.frame: details of the results from a
nFactors object: same as the \code{details} data.frame from the
\code{nFactors} object, but with easier control of the number of decimals
with the \code{digits} parameter}
}
\description{
Utility functions for \code{nFactors} class objects.
}
\examples{

## SIMPLE EXAMPLE
 data(dFactors)
 eig      <- dFactors$Raiche$eigenvalues
 N        <- dFactors$Raiche$nsubjects

 res <- nBartlett(eig,N); res; is.nFactors(res); summary(res, digits=2)
 res <- nBentler(eig,N);  res; is.nFactors(res); summary(res, digits=2)
 res <- nCng(eig);        res; is.nFactors(res); summary(res, digits=2)
 res <- nMreg(eig);       res; is.nFactors(res); summary(res, digits=2)
 res <- nSeScree(eig);    res; is.nFactors(res); summary(res, digits=2)

## SIMILAR RESULTS, BUT NOT A nFactors OBJECT
 res <- nScree(eig);      res; is.nFactors(res); summary(res, digits=2)

}
\references{
Raiche, G., Walls, T. A., Magis, D., Riopel, M. and Blais, J.-G. (2013). Non-graphical solutions
for Cattell's scree test. Methodology, 9(1), 23-29.
}
\seealso{
\code{\link{nBentler}}, \code{\link{nBartlett}},
\code{\link{nCng}}, \code{\link{nMreg}}, \code{\link{nSeScree}}
}
\author{
Gilles Raiche \cr Centre sur les Applications des Modeles de
Reponses aux Items (CAMRI) \cr Universite du Quebec a Montreal\cr
\email{raiche.gilles@uqam.ca}
}
\keyword{multivariate}
back to top