Learn R Programming

tableParser (version 1.0.2)

legendCodings: legendCodings

Description

Extracts the coding of p-values, brackets, abbreviations, superscripts, diagonal content, and the reported sample size/s with 'N=number' from table captions and footnote text.

Usage

legendCodings(x)

Value

A list with detected p-value and superscript codings, abbreviations, and reported sample size/s.

Arguments

x

An HTML-coded table or plain textual input of table caption and/or footnote text.

Examples

Run this code
x<-"+ p>.05, ^**p<.01, SSq, Sum of Squares, ^a t-test, n=120. 
POS: perceived organizational support, JP; job performance.
Numbers in parenthesis are standard errors. 
Bold values indicate significance at p<.05."
legendCodings(x)

Run the code above in your browser using DataLab