trim {statcheck} | R Documentation |
Trimming method for statcheck output
Description
Returns a subset of columns of a statcheck
object.
Usage
trim(object, ...)
Arguments
object |
a |
... |
additional arguments affecting the trimmed output. |
Value
A data frame containing for each source of statistics:
- source
Name of the file/origin of which the statistics are extracted
- raw
Raw string of the statistical reference that is extracted
- computed_p
The recomputed p-value
- error
The computed p value is not congruent with the reported p-value
- decision_error
The reported result is significant whereas the recomputed result is not, or vice versa.
Examples
txt <- "blablabla the effect was very significant (t(100)=1, p < 0.001)"
stat <- statcheck(txt)
trim(stat)
[Package statcheck version 1.5.0 Index]