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

View source: R/cell-lancet.R

lancet_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

lancet_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

lancet_fraction(1, 4, 3)

spgarbet/tangram documentation built on Feb. 12, 2023, 7:13 p.m.