round_columns: Round Columns

View source: R/utils.R

round_columnsR Documentation

Round Columns

Description

Round Columns

Usage

round_columns(df)

Arguments

df

Aggregated data frame.

Details

Internal function to round columns based on column names or variability of data in column.

Value

Epochs or events data frame with rounded columns.

Examples

epochs_df <- data.frame(
  "x.mean" = c(0.1111, 0.1222, 0.1333, 0.1444),
  "y.mean" = c(0.2111, 0.2222, 0.2333, 0.2444),
  "light.mean" = c(1.25, 1.73, 1.99, 2.02)
)
epochs_df <- round_columns(epochs_df)

GENEAcore documentation built on April 11, 2025, 5:43 p.m.