hebing: Group your data

View source: R/statistics.R

hebingR Documentation

Group your data

Description

Group your data

Usage

hebing(otutab, group, margin = 2, act = "mean", metadata = NULL)

Arguments

otutab

data.frame

group

group vector or one of colnames(metadata)

margin

1 for row and 2 for column(default: 2)

act

do (default: mean)

metadata

metadata

Value

data.frame

Examples

data(otutab)
hebing(otutab, metadata$Group)
hebing(otutab, "Group", metadata = metadata, act = "sum")

pcutils documentation built on June 26, 2024, 1:06 a.m.