no_overlap | R Documentation |
The no_overlap() function is used to determine if two numeric vectors have overlapping confidence intervals of their population means using a desired level of significance. It takes as input two vectors and the level of significance and returns a Boolean value TRUE if no overlap exists and FALSE if overlap exists.
no_overlap(x, y, alpha)
x |
vector x |
y |
vector y |
alpha |
level of significance alpha |
indices where no confidence interval overlap exists
vecx <- rnorm(100) vecy <- rnorm(100) no_overlap(vecx, vecy, 0.05)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.