cols_const: constant columns

View source: R/utils.R

cols_constR Documentation

constant columns

Description

The columns name of a data frame with constant value.

Usage

cols_const(dt)

Arguments

dt

a data frame.

Examples

dt = data.frame(a = sample(0:9, 6), b = sample(letters, 6),
                c = rep(1, 6), d = rep('a', 6))
dt
cols_const(dt)


ShichenXie/xefun documentation built on Feb. 12, 2025, 6:19 p.m.