plot_probabilities: Function to produce density plots of probability of...

Description Usage Arguments Value Author(s) Examples

View source: R/plot_probabilities.R

Description

Function to produce density plots of probability of membership by quartile and nationality

Usage

1
2
3
4
plot_probabilities(
  data = historical_countdowns,
  timescale = c("Last Decade", "All Time")
)

Arguments

data

The dataframe of Hottest 100 results to analyse

timescale

a value of either "Last Decade" or "All Time" indicating the timescale to calculate over

Value

an object of class ggpot which holds the matrix of density plots

Author(s)

Trent Henderson

Examples

1
2
3
4
## Not run: 
plot_probabilities(timescale = "Last Decade")

## End(Not run)

hendersontrent/hotteR documentation built on July 16, 2021, 5:28 p.m.