order_funds | R Documentation |
Converts a column of fund name strings to factor in BBMR standardized order
order_funds(df, col = "Fund Name", before = NULL, after = NULL)
df |
Dataframe with fund column to modify. |
col |
String. Name of the column to with fund names to order, defaults to "Fund Name". |
before |
A string, name of a fund to tack on at the beginning of the factor (usually "Total"). |
after |
A string, name of a fund to tack on at the end of the factor (usually "Total"). |
A dataframe with col converted to factor.
Lillian Nguyen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.