Description Usage Arguments Value Examples
This function takes as input one object containing a test result and returns its most important informations. Function t.text takes the result of a t-test (returned from a call to the t.test function), returning its t-value, number of degrees of freedom (possibly corrected) and the test P-value. It offers options to customize the output, like changing separators and decimal markers (helpful in case you are producing a manuscript in German or Portuguese), and choosing the number of digits to round numbers to.
1 |
x |
Name of the object containing the result of the analysis from which stats should be extracted |
sep |
How to separate pieces of information displayed. Defaults to a semicolon followed by a space (sep = "; "). |
dec |
Which decimal separator should be used? Defaults to ".". Allows to quickly changing to a comma in case you are producing a manuscript in German or Portuguese. |
digits |
How many digits should be kept for each piece of numeric information? Defaults to c(3, 1, 3). Importantly, when a P-value rounded to the number of digits hereby defined results in zero, the result is replaced by a more theoretically meaningful alternative (e.g. P < 0.001). |
A string of text to be included in a markdown object.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.