View source: R/halting_tests.R
t_halt | R Documentation |
A univariate halting test using the t-test, which must be satisfied for all condition pairs.
t_halt(condition, covariates, thresh)
condition |
A factor vector containing condition labels. |
covariates |
A columnwise matrix containing covariates to match the conditions on. |
thresh |
The return value of halting_test has to be greater than or equal to thresh for the matched groups. |
The ratio of the p-value and the threshold, or 0 if the p-value is less than the threshold. If there are more than two conditions, it returns the smallest value found for any condition pair.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.