cols_const {xefun} | R Documentation |
The columns name of a data frame with constant value.
cols_const(dt)
dt |
a data frame. |
dt = data.frame(a = sample(0:9, 6), b = sample(letters, 6),
c = rep(1, 6), d = rep('a', 6))
dt
cols_const(dt)