Learn R Programming

nFactors (version 2.3.1)

nFactorsObjectMethods: Utility Functions for nScree Class Objects

Description

Utility functions for nFactors class objects.

Usage

## S3 method for class 'nFactors':
is     (object)
 ## S3 method for class 'nFactors':
print  (x, ...)
 ## S3 method for class 'nFactors':
summary(object, ...)

Arguments

x
nFactors: an object of the class nFactors
object
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

Value

  • Generic functions for the nFactors class:
  • is.nFactorslogical: is the object of the class nFactors?
  • print.nFactorsnumeric: vector of the number of components/factors to retain: same as the nFactors vector from the nFactors object
  • summary.nFactorsdata.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

References

Raiche, G., Riopel, M. and Blais, J.-G. (2006). Non graphical solutions for the Cattell's scree test. Paper presented at the International Annual meeting of the Psychometric Society, Montreal. [http://www.er.uqam.ca/nobel/r17165/RECHERCHE/COMMUNICATIONS/]

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 nFacors OBJECT
 res <- nScree(eig);      res; is.nFactors(res); summary(res, digits=2)

Run the code above in your browser using DataLab