View source: R/datameandiff_CI.R
datameandiff_CI | R Documentation |
Function to compute CI around the raw mean difference
datameandiff_CI(Group.1, Group.2, conf.level, var.equal, alternative, na.rm)
Group.1 |
a (non-empty) numeric vector of data values. |
Group.2 |
a (non-empty) numeric vector of data values. |
conf.level |
confidence level of the interval |
var.equal |
a logical variable indicating whether to assume equality of population variances. If TRUE the pooled variance is used to estimate the standard error. Otherwise, the standard error is estimated based on unpooled variance. |
alternative |
a character string specifying the alternative hypothesis, must be one of "two.sided" (default), "greater" or "less". |
na.rm |
set whether Missing Values should be excluded (na.rm = TRUE) or not (na.rm = FALSE) - defaults to TRUE. |
Returns raw mean difference, (1-alpha)% confidence interval around mean difference, standard error
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.