79564194

Date: 2025-04-09 11:15:36
Score: 1.5
Natty:
Report link

geom_function() is easy to remember and implement:

ggplot(d, aes(x, y)) + 
  geom_point() + 
  geom_function(fun = function(x) 100 - x, colour = "red") +
  scale_y_log10() + 
  scale_x_log10()

geom_function example

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
Posted by: Jon Olav Vik