meanci.r | R Documentation |
means and confidence interval of two groups to correlation coefficient
meanci.r(
m1,
m2,
cil1,
ciu1,
cil2,
ciu2,
n1,
n2,
k,
result = c("sediff", "cil", "ciu", "marge")
)
m1 |
mean of group 1 |
m2 |
mean of group 2 |
cil1 |
lower bound of 95 confidence interval |
ciu1 |
upper bound of 95 confidence interval |
cil2 |
lower bound of 95 confidence interval |
ciu2 |
upper bound of 95 confidence interval |
n1 |
cell size of group 1 |
n2 |
cell size of group 2 |
k |
total number of predictors (k=0 for raw) |
meanci.r(35, 28, 30, 40, 26, 30, 26, 54, 0, "ciu")
dat %>% mutate (r_from_meanci = meanci.r(stress_mean, control_mean, stress_cil, stress_ciu, control_cil, control_ciu, stress_n, control_n, num_predictors))-> dat
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.