prune_columns_from_df | R Documentation |
Given a data.frame
and an integer value, it checks whether there is a
column vector whose values match the given one. If so, it prunes that
single-valued column from the data.frame
prune_columns_from_df(df, value)
df |
|
value |
an integer value |
the column-pruned data.frame
df = data.frame(c(0,0,0), c(0,1,0), c(1,0,0))
prune_columns_from_df(df, value = 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.