Extract a subset of columns from a data.frame, while preserving the user defined attributes of the parent data.frame.
1 | subsetColumnsZoon(df, columns)
|
df |
The dataframe of which you'd like to subset columns from |
columns |
A vector of column names (character) of indices (numeric) which you'd like to keep |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.