-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
find_transformation
incorrectly detects power transformations
#813
Conversation
Codecov Report
@@ Coverage Diff @@
## main #813 +/- ##
==========================================
- Coverage 54.57% 54.53% -0.04%
==========================================
Files 124 124
Lines 15249 15291 +42
==========================================
+ Hits 8322 8339 +17
- Misses 6927 6952 +25
|
The regex should also accommodate:
|
Should work. @bwiernik @bbolker is it even possible to return the power as function? See: insight/R/get_transformation.R Line 61 in b87c1c3
Currently, list(transformation = function(x) x^2, inverse = sqrt) |
|
Fixes #812