q.fnames {qmethod} | R Documentation |
Change factor names in the results of Q methodology analysis
Description
This function replaces the automatic names created in an object of Q method results returned by qmethod
.
Usage
q.fnames(results, fnames)
Arguments
results |
an object of class |
fnames |
a vector with the names of the factors. The number of names provided has to match the number of factors extracted in the object |
Value
Returns the object results
of class QmethodRes
, with the new factor names.
Author(s)
Aiora Zabala
See Also
Examples
data(lipset)
results <- qmethod(lipset[[1]], nfactors = 3, rotation = "varimax")
factor.names <- c("good", "bad", "ugly")
results.renamed <- q.fnames(results, fnames = factor.names)
results.renamed #shows all results
[Package qmethod version 1.8.4 Index]