ith_stat returns the type of stat used by the ith layer.
Arguments
- p
A ggplot object
- i
A numerical index that corresponds to the first layer of a plot (1), the second layer (2), and so on.
See also
Other functions for checking stats:
get_stats(),
ith_stat_is(),
uses_stats()
