Description Usage Arguments Details Value Author(s) Examples
Compare a patient's score to a control group.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | 
| patient | Single value (patient's score). | 
| mean | Mean of the control sample. | 
| sd | SD of the control sample. | 
| n | Size of the control sample. | 
| controls | Vector of values (control's scores). | 
| CI | Credible interval bounds. | 
| treshold | Significance treshold. | 
| iter | Number of iterations. | 
| color_controls | Color of the controls distribution. | 
| color_CI | Color of CI distribution. | 
| color_score | Color of the line representing the patient's score. | 
| color_size | Size of the line representing the patient's score. | 
| alpha_controls | Alpha of the CI distribution. | 
| alpha_CI | lpha of the controls distribution. | 
| verbose | Print possible warnings. | 
Until relatively recently the standard way of testing for a difference between a case and controls was to convert the case’s score to a z score using the control sample mean and standard deviation (SD). If z was less than -1.645 (i.e., below 95
output
| 1 2 3 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.