qmethod(dataset, nfactors, nstat, nqsorts, rotation="varimax",
forced=T, distribution=NA)"varimax". Other possible rotations allowed in principal function can be used: "none", "varimax", "quartimax", "TRUE if all respondents ranked the items strictly following the distribution scores, and the values of the distribution are calculated automatically. Set to FALSE, the distribution has to be provided as a vector of numbers, such as c(-2, -1, -1, 0, 1, 1, 2, 2).principal); flagging Q-sorts (qflag); calculating weights, z-scores, and rounded scores (qzscores), calculating general characteristics (qfcharact), and finding distinguishing and consensus statements (qdc).The default qmethod performs automatic flagging and uses varimax rotation. Varimax rotation can be replaced by other methods for rotation allowed in principal from
If the input data contains row names and variable names, these will be kept throughout the analysis. Input data is validated, and it will give an error if there are non numerical values or either if the number of statements and Q-sorts introduced does not match the input data.
See further references on the methodology in qmethod-package.
principal in package data(lipset)
results <- qmethod(lipset, nfactors=3, nstat=33,
nqsorts=9, rotation="varimax")
summary(results)
results #shows all resultsRun the code above in your browser using DataLab