Learn R Programming

statcheck (version 1.5.0)

summary.statcheck: Summary method for statcheck

Description

Gives the summaries for a statcheck object.

Usage

# S3 method for statcheck
summary(object, ...)

Value

A data frame containing for each source of statistics:

source

Name of the file/origin of which the statistics are extracted

nr_p_values

The number of extracted reported p values per article

nr_errors

The number of errors per article

nr_decision_errors

The number of decision errors per article

Arguments

object

a statcheck object.

...

additional arguments affecting the summary produced.

Examples

Run this code
txt <- "blablabla the effect was very significant (t(100)=1, p < 0.001)"
stat <- statcheck(txt)
summary(stat)

Run the code above in your browser using DataLab