-
Notifications
You must be signed in to change notification settings - Fork 10
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
Error after upgrading ggplot2 to ver 2.0.0 #2
Comments
Hi, Best Regards, |
Hi, easyGgplot2 has been updated know. Install the latest version as follow: if(!require(devtools)) install.packages("devtools")
devtools::install_github("kassambara/easyGgplot2") Please, let me know if your code works... Best Regards, |
Thank you. I only faced a problem (that didn't occur before) when there is a group in PROBLEM (no desnities - only MeanLines)ggplot2.density(data=dt, xName='mon_kost', groupName='methodos_kataskevis', NO PROBLEMggplot2.density(data=dt[dt$methodos_kataskevis != "Προβολοδόμηση",], DATAdt <-
On Thu, Jan 14, 2016 at 12:36 PM, Alboukadel KASSAMBARA <
|
Thank you again for your feedback. This problem is not from easyGgplot2. It's from ggplot2 v2.. I have the same problem when I use ggplot2 v2 original syntax as follow: # problem
ggplot(dt, aes(x = mon_kost)) +
geom_density(aes(fill = methodos_kataskevis))
# no problem
ggplot(dt[dt$methodos_kataskevis != "Προβολοδόμηση",], aes(x = mon_kost)) +
geom_density(aes(fill = methodos_kataskevis), alpha = 0.5) I think that, it makes sens to remove a group with only one observation, before plotting. Best Regards, |
Ah, ok Best Regards, On Thu, Jan 14, 2016 at 1:35 PM, Alboukadel KASSAMBARA <
|
Hi, thanks for the great work you're doing. I'm having a problem dodging bars using ggplot2.barplot. Using the example code you've provided: df<-restaurant This produces stacked bars only. this code works: ggplot(df, aes(x=time, y=total_bill, fill=sex)) + |
Hi, This issue has been fixed now. Please install the latest version. I would highly suggest to use ggpubr package (read this: http://www.sthda.com/english/wiki/ggpubr-r-package-ggplot2-based-publication-ready-plots), which will be a replacement of easyGgplot2. For ggpubr::ggbarplot, read this: http://www.sthda.com/english/rpkgs/ggpubr/reference/ggbarplot.html Best, |
Hi,
Thanks again, your contribution really has been outstanding.
Ggpubr looks great and I’ll give that a go.
Best wishes
…
Ehsan
From: Alboukadel KASSAMBARA [mailto:notifications@github.com]
Sent: 30 December 2016 08:27
To: kassambara/easyGgplot2 <easyGgplot2@noreply.github.com>
Cc: GHORANI, Ehsan (IMPERIAL COLLEGE HEALTHCARE NHS TRUST) <eghorani@nhs.net>; Comment <comment@noreply.github.com>
Subject: Re: [kassambara/easyGgplot2] Error after upgrading ggplot2 to ver 2.0.0 (#2)
Hi,
This issue has been fixed now. Please install the latest version.
I would highly suggest to use ggpubr package (read this: http://www.sthda.com/english/wiki/ggpubr-r-package-ggplot2-based-publication-ready-plots), which will be a replacement of easyGgplot2.
For ggpubr::ggbarplot, read this: http://www.sthda.com/english/rpkgs/ggpubr/reference/ggbarplot.html
Best,
/A
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#2 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AWbuBt73x4Hp9pIN3-K8WKUtI8qdWeREks5rNMBegaJpZM4HDzCm>.
********************************************************************************************************************
This message may contain confidential information. If you are not the intended recipient please inform the
sender that you have received the message in error before deleting it.
Please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents:
to do so is strictly prohibited and may be unlawful.
Thank you for your co-operation.
NHSmail is the secure email and directory service available for all NHS staff in England and Scotland
NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and GSi recipients
NHSmail provides an email address for your career in the NHS and can be accessed anywhere
For more information and to find out how you can switch, visit www.nhsdigital.nhs.uk/nhsmail
********************************************************************************************************************
|
So, we can close this issue. I really appreciate your comment!! |
ggplot2.boxplot generated the following error after updating ggplot2. Are you going to update your package in order to be compatible with ggplot2 ver 2.0.0 ?
Error: Unknown parameters: mainTitle, xtitle, ytitle, legendTitle
In addition: Warning messages:
1: replacing previous import by 'grid::unit' when loading 'ggthemes'
2: replacing previous import by 'grid::arrow' when loading 'ggthemes'
3: replacing previous import by 'scales::alpha' when loading 'ggthemes'
4: replacing previous import by 'grid::unit' when loading 'sjPlot'
5: In crs$dataset <- my.data : Coercing LHS to a list
6: replacing previous import by 'ggplot2::arrow' when loading 'Hmisc'
7: replacing previous import by 'ggplot2::unit' when loading 'Hmisc'
8: replacing previous import by 'scales::alpha' when loading 'Hmisc'
The text was updated successfully, but these errors were encountered: