View source: R/identify.statcheck.R
identify.statcheck | R Documentation |
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.
## S3 method for class 'statcheck'
identify(x, alpha = 0.05, ...)
x |
A statcheck object. See |
alpha |
assumed level of significance in the scanned texts. Defaults to .05. |
... |
arguments to be passed to methods, such as graphical parameters
(see |
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.