is_comparison_successful | R Documentation |
Determines if a t-test has found a significant difference of the correct sign
is_comparison_successful(vals_1, vals_2, lux_1, lux_2, fit)
vals_1 |
set of melatonin values at first lux |
vals_2 |
set of melatonin values at second lux |
lux_1 |
first measured lux value |
lux_2 |
second measured lux value |
fit |
a result of running t.test |
a named list comprising 'result': a binary value indicating test success (if=1) or failure (if=0) to detect difference of correct sign; and 'p_value': the p-value from the t test
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.