Description Usage Arguments Details Value Examples
View source: R/apaDescriptives.R
Generic method to generate an APA style table with descriptives for MS Word.
1 2 3 4 |
data |
Raw dataset with variables. |
variables |
The variable names for in the table. |
report |
(optional) Specify which descriptive statistics to report. Use a subset from |
title |
(optional) Name of the table. |
filename |
(optional) Specify the filename (including valid ' |
note |
(optional) Add a footnote to the bottom of the table. |
position |
(optional) Specify whether the correlations should be displayed in the |
merge |
(optional) Set ( |
sig |
(optional) Specify whether the significance should be displayed in a separate column. |
landscape |
(optional) Set ( |
save |
(optional) Set ( |
This method can automatically generate tables with descriptive statistics. It's possible to specify which descriptives
should be displayed. The default setting displays all the means, standard deviations, and a correlation matrix. This can
user specified changing the (report) parameter. For large tables it is also possible to merge the mean and
stadard deviation in one column “M (SD)”. This can be done by setting the merge parameter
to TRUE. It's also possible to make the columns of the correlation matrix smaller, by removing the significance
asterisks in the table. The significance of the correlation values are highlighted in a footnote (e.g, Correlation
coefficients > |0.23| are significant at p < 0.036."). This can be done by setting the sig parameter to
FALSE.
apa.descriptives object; a list consisting of
succes |
message in case of an error |
save |
flag which indicates whther the document is saved |
data |
dataset with descriptive statistics |
table |
|
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.