We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sometimes it's nice to have a 'log'-transformation that also works for negative values to have points more evenly spread-out:
ihs <- function(x){log(x+sqrt(x^2+1))} ihs_trans <- scales::trans_new(name="ihs",transform=ihs, inverse=sinh) set.seed(1) data <- tibble( x=runif(10^4), y=rnorm(10^4) ) data %>% ggplot(aes(x,y)) + geom_point(alpha=.7) + ggtitle("regular") data %>% ggplot(aes(x,y)) + geom_point(alpha=.7) + scale_y_continuous(trans=ihs_trans) + ggtitle("ihs")
The text was updated successfully, but these errors were encountered:
Sure, do you want to do a PR?
Sorry, something went wrong.
add arsinh transform
1a385dc
answers r-lib#297, and fixes domain for atanh
7eed87f
Fixed by #360
No branches or pull requests
Sometimes it's nice to have a 'log'-transformation that also works for negative values to have points more evenly spread-out:
The text was updated successfully, but these errors were encountered: