Description Usage Arguments Value Examples
View source: R/podlove_graph_performance.R
Based on data created by podlove_performance_stats
, plot all episodes
on an X/Y grid, X showing long-term average downloads, Y showing average
downloads during launch. Horizontal and vertcal lines show median values.
This allows for categorization of epsisodes into performance clusters.
Note that you won't see episodes which are younger than your post_launch
limit.
1 | podlove_graph_performance(df_perfstats, label, legend, printout = TRUE)
|
df_perfstats |
a tidy data frame created by |
label |
Unquoted, episode-related variable to use for labelling. By default,
|
legend |
Unquoted, episode-related variable to use in a explanatory legend next to the performance graph. |
printout |
Switcher to automatically print out the plot (default TRUE) |
A ggplot object
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
# plot episode performance stats with a launch period of 2 days and a
# post-launch period of 5 days
perf <- podlove_performance_stats(podcast_example_data, launch = 2, post_launch = 5)
podlove_graph_performance(perf)
# add a label
perf <- podlove_performance_stats(podcast_example_data, launch = 2, post_launch = 5,
label = ep_number, legend = title)
podlove_graph_performance(perf)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.