format_list: Convert numeric elements in list to string

View source: R/list_utils.r

format_listR Documentation

Convert numeric elements in list to string

Description

Recursively converts numeric elements in list to string using the 'format' function. This is done to guarantee that scientific notation is not used.

Usage

format_list(x, scientific = FALSE, trim = TRUE)

Arguments

x

a list

scientific

whether to keep or not the scientific notation

trim

suppress justifying values to right

Value

formatted list


bioDS/beter documentation built on June 15, 2022, 7:58 a.m.