run_group.CI: Group Confidence Interval

run_group.CIR Documentation

Group Confidence Interval

Description

Calculates the confidence interval of grouped data

Usage

run_group.CI(x, data, ci = 0.95)

Arguments

x

(Required). an aggregate compatible formula.

data

(Required). a data frame (or list) from which the variables in formula should be taken.

ci

(optional). numeric. confidence interval to be calculated.

Value

A data frame consisting of one column for each grouping factor plus three columns for the upper bound, mean and lower bound of the confidence interval for each level of the grouping factor

Author(s)

Created by Hua Zou (5/19/2022 Shenzhen China)

References

https://github.com/cran/Rmisc/

Examples

run_group.CI(Sepal.Length~Species, iris, 0.95)


HuaZou/MicrobiomeAnalysis documentation built on May 13, 2024, 11:10 a.m.