plot.statcheck: Plot method for "statcheck"

Description Usage Arguments Details Author(s) See Also

View source: R/plot.statcheck.R

Description

Function for plotting of "statcheck" objects. Reported p values are plotted against recalculated p values, which allows the user to easily spot if articles contain miscalculations of statistical results.

Usage

1
2
3
4
## S3 method for class 'statcheck'
plot(x, alpha = 0.05, APAstyle = TRUE, group = NULL, 

    ...)

Arguments

x

a "statcheck" object. See statcheck.

alpha

assumed level of significance in the scanned texts. Defaults to .05.

APAstyle

if TRUE, prints plot in APA style

group

indicate grouping variable to facet plot. Only works when APAstyle==TRUE

...

arguments to be passed to methods, such as graphical parameters (see par).

Details

If APAstyle = FALSE, inconsistencies between the reported and the recalculated p value are indicated with an orange dot. Recalculations of the p value that render a previously non significant result (p >= .5) as significant (p < .05), and vice versa, are considered gross errors, and are indicated with a red dot. Exactly reported p values (i.e. p = ..., as opposed to p < ... or p > ...) are indicated with a diamond.

Author(s)

Sacha Epskamp <mail@sachaepskamp.com> & Michele B. Nuijten

<m.b.nuijten@uvt.nl>. Many thanks to John Sakaluk who adapted the plot code to create graphs in APA style.

See Also

statcheck


statcheck documentation built on May 2, 2019, 9:19 a.m.