nejm_fraction {tangram}R 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)

[Package tangram version 0.8.2 Index]