I want to use ggplot to create scatter plot where y scale to be scaled as 1/y (my y are all positive), yet labeled with original values of y. How can I do this?
I tried to plot with + scale_y_continuous(trans='recip') but got following error:
Error in get(as.character(FUN), mode = “function”, envir = envir) :
object ‘recip_trans’ of mode ‘function’ was not found
Thanks,
Something like this?