-
Notifications
You must be signed in to change notification settings - Fork 117
Pseudo-log transform #106
New issue
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
Pseudo-log transform #106
Conversation
|
Are you still interested in this PR? |
|
Yes. Let me know how I can help.
…On Tue, Jun 5, 2018 at 7:26 PM, Hadley Wickham ***@***.***> wrote:
Are you still interested in this PR?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#106 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AHgR6TbelQLNn1QFTjVsPqHPP0xyee7aks5t5r8_gaJpZM4QGqPP>
.
|
|
Hi @lepennec We need a couple small things before this is ready for merge:
Thanks! Let me know if I can help. |
|
One final thing: the pattern for test file naming is to match the test file name to the R file name (as |
Codecov Report
@@ Coverage Diff @@
## master #106 +/- ##
==========================================
- Coverage 62.23% 60.73% -1.51%
==========================================
Files 27 28 +1
Lines 858 848 -10
==========================================
- Hits 534 515 -19
- Misses 324 333 +9
Continue to review full report at Codecov.
|
| @@ -1,5 +1,8 @@ | |||
| # scales 0.5.0.9000 | |||
|
|
|||
| * New `pseudo_log_trans()` for transforming numerics into a signed logarithmic scale | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs username
|
@dpseidel since the last change is small, can you please make it and merge? |
Hi,
this is a simple implementation of the pseudo-log transform, a.k.a as the asinh transform. This is a transform which behaves as sign(x)*log(|x|) when x is large and as x when x is small. Such a transform was mentionned in the issue #48. I've added two parameters, one which is used to define when x is small or not and the other to mimic a logarithm with a different base than the natural one (exp(1)).
Erwan