checkHTML: Extract test statistics from HTML file.

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Extracts statistical references from given HTML files.

Usage

1

Arguments

files

Vector of strings containing file paths to HTML files to check.

...

Arguments sent to statcheck.

Details

See statcheck for more details. Use checkHTMLdir to import al HTML files in a given directory at once.

Note that the conversion to plain text and extraction of statistics can result in errors. Some statistical values can be missed, especially if the notation is unconvetional. It is recommended to manually check some of the results.

Value

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.

Author(s)

Sacha Epskamp <mail@sachaepskamp.com> & Michele B. Nuijten <m.b.nuijten@uvt.nl>

See Also

statcheck, checkPDF, checkPDFdir, checkHTMLdir, checkdir

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
  # given that my HTML file is called "article.html"


# and I saved it in "C:/mydocuments/articles"





    #checkHTML("C:/mydocuments/articles/article.html")

chartgerink/statcheckTEMP documentation built on May 13, 2019, 3:37 p.m.