meta_add_total: Add duplicate data to enable a total group

View source: R/meta_add_total.R

meta_add_totalR Documentation

Add duplicate data to enable a total group

Description

Add duplicate data to enable a total group

Usage

meta_add_total(meta, total = "Total")

Arguments

meta

A metalite object.

total

A character value of total group name.

Value

A metadata object with a total group added.

Examples

x <- meta_add_total(meta_example())
# A `Total` group is added
table(x$data_population$TRTA)

metalite documentation built on Sept. 11, 2024, 7:18 p.m.