rank_species | R Documentation |
Returns a plot showing the top "n" number of Star Wars species sorted by a specified metric with starship name on the y-axis, and the ranking metric on the x-axis.
rank_species(interested = NULL, n = 15)
interested |
Metric to rank species on. ("average_height", "average_lifespan", "films") |
n |
Number of results to plot. (default = 15) |
A plot with species name on the y-axis and the ranking metric on the x-axis.
## Not run: rank_species(interested = "average_height", n = 20), rank_species(interested = "average_lifespan") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.