top_table | R Documentation |
top_table takes the name (outcol) of the top value of outvar in a tidy table, bot_table takes the bottom value
top_table(df, outcol, outvar)
outcol |
Is the name of the row of interest |
outvar |
Is the column we want the top value of |
When you make a table using tabyl etc., you often want to find the 'top value row' to use in inline code
video_outcomes_phil <- gg_video_breakdowns %>% filter(audience=="Philanthropy") %>% group_by(video_theme) %>% base_results_sum() top_outcome <- video_outcomes_phil %>% top_table(video_theme, `$/ result`)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.