Description Usage Arguments Value See Also Examples
View source: R/podlove_plot_performance.R
Wrapper function to prepare and generate a performance plot with 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. If you want to generate and tweak the data behind this plot,
use podlove_performance_stats
.
1 2 3 4 5 6 7 8 9 | podlove_plot_performance(
dldata,
launch = 3,
post_launch = 7,
limit_unit = "days",
label,
legend,
printout = TRUE
)
|
dldata |
A tidy data frame with download data, as constructed
by |
launch |
definition of a episode launch period in days after launch |
post_launch |
definition of begin of long-term performance in days after launch |
limit_unit |
time unit for limits. Can be "days" (default) or "hours". Used to fine-tune launch performance cutoffs. |
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. Leave the option away to display no legend.
|
printout |
Switcher to automatically print out the plot (default TRUE) |
A ggplot object
podlove_performance_stats(), podlove_graph_performance()
1 2 3 4 | # create example data
dls <- podlove_create_example(clean = TRUE)
podlove_plot_performance(dls, launch = 2, post_launch = 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.