q.fnames | R Documentation |
This function replaces the automatic names created in an object of Q method results returned by qmethod
.
q.fnames(results, fnames)
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 |
Returns the object results
of class QmethodRes
, with the new factor names.
Aiora Zabala
qmethod
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.