nFactorsObjectMethods function

Utility Functions for nFactors Class Objects

Utility Functions for nFactors Class Objects

Utility functions for nFactors class objects.

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

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

Returns

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

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.

See Also

nBentler, nBartlett, nCng, nMreg, nSeScree

Author(s)

Gilles Raiche

Centre sur les Applications des Modeles de Reponses aux Items (CAMRI)

Universite du Quebec a Montreal

raiche.gilles@uqam.ca

  • Maintainer: Gilles Raiche
  • License: GPL (>= 3.5.0)
  • Last published: 2022-10-10

Useful links