Skip to contents

Remove columns if values are constant

Usage

filter_column_constant(object, verbose)

calculate_column_constant(object, verbose = TRUE)

# Default S3 method
filter_column_constant(object, verbose = TRUE)

# S3 method for class 'Metabolite'
filter_column_constant(object, verbose = TRUE)

Arguments

object

An object, data.frame, data.table or Metabolite.

verbose

print log information.

Examples

data(df_plasma)
v <- filter_column_constant(df_plasma)
#> 
#> Constant columns n = 37
#>