Work

R: single plot with two different y-axes

Year: 2015
Type: other
Abstract: I forgot where I originally found the code to do this, but I recently had to dig it out again to remind myself how to draw two different y axes on the same plot to show the values of two different features of the data. This is somewhat distinct from the typical use case of aesthetic mappings in ggplot2 where I want to have different lines/points/colors/etc. for the same feature across multiple subsets of data.
Language: English
Open Access status: gold
OpenAlex ID: W4417085152
Cites:
Cited by:
Related to: 10