nejm_fraction: Create an cell_fraction (S3) in NEJM style of the given data

View source: R/cell-nejm.R

nejm_fractionR Documentation

Create an cell_fraction (S3) in NEJM style of the given data

Description

A cell object contains a statistical result of a fraction/percentage in nejm style

Usage

nejm_fraction(numerator, denominator, format = NULL, ...)

Arguments

numerator

numeric; The value of the numerator

denominator

numeric; The value of the denominator

format

numeric or character; a string formatting directive

...

optional extra information to attach

Value

A cell_fraction object.

Examples

nejm_fraction(1, 4, 3)

spgarbet/tg documentation built on Feb. 21, 2023, 3:35 a.m.