make_filename_from_number: make string from number in format acceptable for filename

View source: R/general_functions.R

make_filename_from_numberR Documentation

make string from number in format acceptable for filename

Description

make_filename_from_number makes a string from a number, replacing periods and plus signs

Usage

make_filename_from_number(x, decimal_points = 3, scientific = FALSE)

Arguments

x

numeric vector of length 1

decimal_points

numeric vector of length 1. number of decimal points to round to

scientific

logical vector of length 1. whether to use scientific notation

Value

character vector of lenth 1: string suitable for use as filename


ada-w-yan/deltaomicron1 documentation built on June 24, 2022, 5:41 a.m.