Learn R Programming

coinmarketcapr (version 0.4)

plot_top_currencies: Plot The Price of the Largest Market Cap Cryptocurrencies (API Key required)

Description

Plot The Price of the Largest Market Cap Cryptocurrencies (API Key required)

Usage

plot_top_currencies(currency = "USD", k = 5, bar_color = "grey")

Arguments

currency

currency code (default is 'USD')

k

the number of top cryptocurrencies to plot (default is 5)

bar_color

a valid color name or hexadecimal color code (default is 'grey')

Value

A ggplot of top Cryptocurrencies based on their rank (Market Cap)

Examples

Run this code
# NOT RUN {
plot_top_currencies('EUR')
plot_top_currencies('GBP')
# }

Run the code above in your browser using DataLab