Description Usage Arguments Details Author(s) See Also Examples
Prints the results of a q.cor object in a more interpretable fashion. Also includes a convenient export option.
1 2 3 |
x |
An object returned by the q.cor() function. |
var.content |
An optional vector containing the content of the items or variables used as the "set" in a q.cor analysis. If left NULL default content is created. |
initial |
An optional character element indicating the initial letters for the item codes or names in set. If left NULL "i" is used. |
rnd |
A numeric element specifying the number of places to round each correlation coefficient. |
EXPORT |
A file location to export the print results. If FALSE (default) no exportation is done. |
short |
A logical indicating whether long output (default) or short output is to be returned. |
... |
More arguments to pass to the print function. |
A print function for the q.cor
function used to summarize the results of a q.cor object. This function easily adds the content of the items to the correlation table, sorts the correlation table, and allows the user to limit the table to only those items that are statistically significant at the p < .10 for the combined or .05 level for each gender by setting the short option = TRUE. In addition, the export option allows the user to output the results (either long or short) into a .csv file.
Ryne A. Sherman
1 2 3 4 5 6 7 8 9 | data(rbqv3.items)
data(RSPdata)
data(v2rbq)
names(v2rbq)
q.obj <- q.cor(RSPdata$sEXT, v2rbq, sex = RSPdata$ssex, fem = 1, male = 2, sims = 1000)
#It might be necessary to adjust size of the width of your console to make this content fit.
print(q.obj) # Accepting only the default arguments
# Taking advantage of the other arguments
print(q.obj, var.content = rbqv3.items, initial = "RBQ", short = TRUE, EXPORT = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.