Skip to contents

Round attribute values to three decimal places.

Usage

roundfluor(x)

Arguments

x

Attribute value(s).

Value

A rounded value with three decimal places when applied to a single value or an attribute with log-transformed values.

Examples

test_df <- as.data.frame(c(seq(40)))
colnames(test_df) <- "test"
test_df_norm <- lapply(test_df[1:ncol(test_df)], roundfluor)