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
Suggested feature for diverging_lollipop_plt() [with code] #151
Comments
Actually as long as I'm at it and eager to use it. A bunch of suggestions implemented in code for your consideration. I tried to emulate your style choices as much as possible...
|
I love it, I'll add a few more and credit you in the NEWS file for the issue, a little laid up today but this will be in the next release. |
No worries on credit but appreciated, Hope you feel better soon. I have a few more tweaks I'll drop later but the only thing I steadfastly refuse to do is update the doco, LOL I know how but it's just too tedious for me ;-) |
No worries at all, thanks for the suggestion and feedback
…On Mon, Feb 6, 2023 at 11:36 AM Chuck Powell ***@***.***> wrote:
No worries on credit but appreciated, Hope you feel better soon. I have a
few more tweaks I'll drop later but the only thing I steadfastly refuse to
do is update the doco, LOL I know how but it's just too tedious for me ;-)
—
Reply to this email directly, view it on GitHub
<#151 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAPCNS5GE3L7RXKA5HAWAH3WWESB7ANCNFSM6AAAAAAURGUW34>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
--
Steven P Sanderson II, MPH
Book on Lulu <http://goo.gl/lmrlFI>
Personal Site <http://www.spsanderson.com>
|
All i have for now. If you don't want to add another package like checkmate to make argument checking easier please just comment it out...
|
My final suggestions for awhile (LOL you're probably happy for that. Back to my day job. I gave it a new name so you can potentially keep things safe... I also documented one hack I found for dual axes which might be helpful when you have this many rows as in mtcars...
|
I am working on this, working through some bugs and trying to think of the best way to go about this, as a centraility measure on it's own is only good for a single line on the graph that would visualize whatis above/below it. This would still require finding the spot in that measure where each item exists. |
No rush on my account. I was actually inspired by your standardizing the variable to go with mean and median but trivial to allow the user to chose mean or median or a user supplied value if they have some known domain quantity or other measure they wish to impose.Sent from my mobile please forgive my brevity On Feb 16, 2023, at 11:29, Steven Paul Sanderson II, MPH ***@***.***> wrote:
I am working on this, working through some bugs and trying to think of the best way to go about this, as a centraility measure on it's own is only good for a single line on the graph that would visualize whatis above/below it. This would still require finding the spot in that measure where each item exists.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Is your feature request related to a problem? Please describe.
Right now you are relying on the user to do something like convert to a z score so that the center point is zero
Describe the solution you'd like
Would be nice if you calculated the mean so they could plot in raw units either as an option or by default
Describe alternatives you've considered
How about some simple code like this...
mean_y <- data_tbl %>% summarise(mean({{ y_axis_var }})) %>% deframe()
and
ggplot2::geom_segment( ggplot2::aes(y = mean_y, x = {{ x_axis_var }}, yend = {{ y_axis_var }}, xend = {{ x_axis_var }}), color = "black") +
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: