minimal_decimal_places_ordered: Reduce decimal places needed

View source: R/general_utilities.R

minimal_decimal_places_orderedR Documentation

Reduce decimal places needed

Description

Reduce the number of decimals down to the minimal needed to preserve the same number of levels in the original data. Returns data as factors to represent values in the same order they were given. This is handy for whne you

Usage

minimal_decimal_places_ordered(numeric_vector, min_decimal = 0)

Arguments

numeric_vector

Values to represent

min_decimal

Integer to indicate the number of folds in which to split the data


Benjamin-Vincent-Lab/binfotron documentation built on Oct. 1, 2024, 8:33 p.m.