identify.statcheck: Identify specific points in a statcheck plot.

View source: R/identify.statcheck.R

identify.statcheckR Documentation

Identify specific points in a statcheck plot.

Description

With this function you can simply point and click on the datapoints in the plot to see the corresponding statcheck details, such as the paper from which the data came and the exact statistical results.

Usage

## S3 method for class 'statcheck'
identify(x, alpha = 0.05, ...)

Arguments

x

A statcheck object. See statcheck.

alpha

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

...

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

Examples

## Not run: 

# First we need a statcheck object
# Here, we create one by running statcheck on some raw text

txt <- "This test is consistent t(28) = 0.2, p = .84, but this one is 
inconsistent: F(2, 28) = 4.2, p = .01. This final test is even a
gross/decision inconsistency: z = 1.23, p = .03"

result <- statcheck(txt)

# Now, we can run identify.statcheck(), or shorter, simply identify():
identify(result)

# Further instructions:
# click on one or multiple points of interest
# press Esc
# a dataframe with information on the selected points will appear


## End(Not run)


statcheck documentation built on May 29, 2024, 7:35 a.m.