remove.const.vars | R Documentation |
remove constant variables from a data.frame.
remove.const.vars(df)
df |
data.frame from which constant variable will be removed. |
data.frame with removed constant variables.
df <- data.frame(a = rnorm(5), b = 1:5, c = rep(1, 5))
df <- remove.const.vars(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.