Description Usage Arguments Value Examples
Removes specified column
from df or breaks with message if column
not in df's columns names
1 | remove.column(df, column)
|
df |
data.frame |
column |
character column name |
data.frame
1 2 3 4 5 6 7 8 9 10 | remove.column(data.frame(x=c(1:3), y = c(1:3)), column = "y")
# x
# 1 1
# 2 2
# 3 3
remove.column(data.frame(x=c(1:3), y = c(1:3)), column = "value")
# Can't remove column
# value
# Error in remove.column(data.frame(x = c(1:3), y = c(1:3)), column = "value") :
# no loop for break/next, jumping to top level
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.