as.named.vector.df | R Documentation |
Convert any column or row of a dataframe into a vector, keeping the corresponding dimension name.
as.named.vector.df(
df,
col.or.row.name.or.index = 1,
verbose = TRUE,
WhichDimNames = 1,
...
)
df |
A dataframe. |
col.or.row.name.or.index |
Which column or row to extract (numeric index). |
verbose |
Print the columnname or rowname that is being used |
WhichDimNames |
Shall we extract rows (2) or columns (1, default)?, Default: 1 |
... |
Additional arguments passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.