dot-roundIt: Round to at least n decimal places.

Description Usage Arguments Value

Description

For a data frame, if an extry is < 1, then round it to n significant figures. If it is >= 1, then round it to n decimal places.

Usage

1
.roundIt(df, n = 3)

Arguments

df

A data frame.

n

How many decimal places/significant figures to round to.

Value

The data frame x with rounded entries.


CRUKMI-ComputationalBiology/twoddpcr documentation built on Feb. 14, 2021, 9:18 p.m.