-
Notifications
You must be signed in to change notification settings - Fork 165
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
Position dodge in ggdotchart #45
Comments
kassambara
added a commit
that referenced
this issue
Oct 30, 2017
kassambara
added a commit
that referenced
this issue
Oct 30, 2017
kassambara
added a commit
that referenced
this issue
Oct 30, 2017
kassambara
added a commit
that referenced
this issue
Oct 30, 2017
Updated now. Install the latest developmental version:
Try this:
Should output this: |
Thank you very much.
Manuel
2017-10-30 5:07 GMT-06:00 Alboukadel KASSAMBARA <[email protected]>:
… Updated now.
Install the latest developmental version:
devtools::install_github("kassambara/ggpubr")
Try this:
Plot with multiple groups
# +++++++++++++++++++++
# Create some data
df2 <- data.frame(supp=rep(c("VC", "OJ"), each=3),
dose=rep(c("D0.5", "D1", "D2"),2),
len=c(6.8, 15, 33, 4.2, 10, 29.5))
ggdotchart(df2, x = "dose", y = "len",
color = "supp",
size = 3,
add = "segment",
add.params = list(color = "lightgray", size = 1.5),
position = position_dodge(0.3),
palette = "jco",
ggtheme = theme_pubclean()
)
Should output this:
[image: rplot]
<https://user-images.githubusercontent.com/3313355/32167925-d7250592-bd6a-11e7-9aa0-f82f5f2acf9b.png>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#45 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AVGyhw4ktq9dvArGbqmq7yhZcrAZ7ts8ks5sxa3dgaJpZM4QJ7rp>
.
--
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
[email protected] <[email protected]>
[email protected]
Teléfono: (506) 8706 - 4662
Personal website: Lobito de río <https://sites.google.com/site/lobitoderio/>
Institutional website: ICOMVIS <http://www.icomvis.una.ac.cr/>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dear Alboukadel
Is it possible to specify position dodge with ggdotchart?
Suppose that I want this polt as a dotchart:
ggbarplot(df2, "dose", "len",
fill = "supp", color = "supp", palette = "Paired",
label = TRUE,
position = position_dodge(0.9))
How can I do it>
Manuel
The text was updated successfully, but these errors were encountered: