Learn R Programming

nFactors (version 2.4.1.1)

is.nFactors: Utility Functions for nFactors Class Objects

Description

Utility functions for nFactors class objects.

Usage

is.nFactors(x)

# S3 method for nFactors print(x, ...)

# S3 method for nFactors summary(object, ...)

Value

Generic functions for the nFactors class:

is.nFactors

logical: is the object of the class nFactors?

print.nFactors

numeric: vector of the number of components/factors to retain: same as the nFactors vector from the nFactors object

summary.nFactors

data.frame: details of the results from a nFactors object: same as the details data.frame from the nFactors object, but with easier control of the number of decimals with the digits parameter

Arguments

x

nFactors: an object of the class nFactors

...

variable: additionnal parameters to give to the print function with print.nFactors or to the summary function with summary.nFactors

object

nFactors: an object of the class nFactors

Author

Gilles Raiche
Centre sur les Applications des Modeles de Reponses aux Items (CAMRI)
Universite du Quebec a Montreal
raiche.gilles@uqam.ca

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.

See Also

nBentler, nBartlett, nCng, nMreg, nSeScree

Examples

Run this code

## 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)

Run the code above in your browser using DataLab