Description Usage Arguments Details Value Author(s) See Also Examples
Extracts statistical values (currently only t and F statistics) from PDF files. To this end the "pdftotext" program is used to convert PDF files to plain text files. This must be installed and PATH variables must be properly set so that this program can be used from command line.
1 |
files |
Vector with paths to the PDF files. |
... |
Arguments sent to |
See statcheck
for more details. Use checkPDFdir
to import every PDF file in a given directory. Currently only statistics in the form "(stat (df1, df2) = value, p = value)" are extracted.
Note that this function is still in devellopment. Some statistical values can be missed, especially if the notation is unconvetional. It is recommended to manually check some of the results.
A data frame containing for each extracted statistic:
Source |
Name of the file of which the statistic is extracted |
Statistic |
Character indicating the statistic that is extracted |
df1 |
First degree of freedom |
df2 |
Second degree of freedom (if applicable) |
Value |
Reported value of the statistic |
Reported.Comparison |
Reported comparison, when importing from pdf this will often not be converted properly |
Reported.P.Value |
The reported p-value, or NA if the reported value was NS |
Computed |
The recomputed p-value |
Raw |
Raw string of the statistical reference that is extracted |
InExactError |
Error in inexactly reported p values as compared to the recalculated p values |
ExactError |
Error in exactly reported p values as compared to the recalculated p values |
DecisionError |
The reported result is significant whereas the recomputed result is not, or vice versa. |
Sacha Epskamp <mail@sachaepskamp.com> & Michele B. Nuijten <m.b.nuijten@uvt.nl>
1 2 3 4 5 6 7 8 9 10 | # given that my PDF file is called "article.pdf"
# and I saved it in "C:/mydocuments/articles"
# checkPDF("C:/mydocuments/articles/article.pdf")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.