get.alpha.error {JATSdecoder} | R Documentation |
get.alpha.error
Description
Extracts reported and corrected alpha error from text and 1-alpha confidence intervalls.
Usage
get.alpha.error(x, p2alpha = TRUE, output = "list")
Arguments
x |
text string to process. |
p2alpha |
Logical. If TRUE detects and extracts alpha errors denoted with a critical p-value (may lead to some false positive detections). |
output |
One of c("list","vector"). If output="list" returns a list containing: alpha_error, |
Value
Numeric. Vector with identified alpha-error/s.
See Also
study.character
for extracting multiple study characteristics at once.
Examples
x<-c("The threshold for significance was adjusted to .05/2",
"Type 1 error rate was alpha=.05.")
get.alpha.error(x)
x<-c("We used p<.05 as level of significance.",
"We display .95 CIs and use an adjusted alpha of .10/3.",
"The effect was significant with p<.025.")
get.alpha.error(x)
[Package JATSdecoder version 1.2.0 Index]