Learn R Programming

tangram (version 0.8.2)

lancet_fraction: 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, ...)

Value

A cell_fraction object.

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

Examples

Run this code
lancet_fraction(1, 4, 3)

Run the code above in your browser using DataLab