Comments (5)
Hi, thanks for your interest in my package.
I am not quite sure what you mean by "comparison by column"?
You can make a plot where the x-axis is a logical value:
library(ggplot2)
library(ggsignif)
ggplot(mpg, aes(x = class== "compact", y = hwy)) +
geom_boxplot() +
geom_signif(comparisons = list(1:2))
If I misunderstood your question, could you please provide a reproducible example (what exactly is in the person
data frame).
from ggsignif.
Hi,
I have a similar problem.
I have a table where I have qualitative values (0n,1,0-2,2-,2+) in one column and quantitative data in other columns. I would like to show significance over each group of my quailtative values, but I only get the warning
"In wilcox.test.default(c(82.60,100,-5.26,73.33, :
cannot compute exact p-value with ties".
Here is my Code so far:
ggplot(I_80_alle_100,aes(group=Bonitur,x=Bonitur,y=Quotient.100,fill=Quotient.100))+
geom_boxplot(outlier.shape=3)+
geom_signif(comparisons=list(group=I_80_alle_100$Bonitur),map_signif=TRUE)`
Do I get the warning because of my quanitative values are between +100 and -100?
from ggsignif.
Thanks a lot for your quick answer.
Even when I run your code (from above), I get the following error message:
"Error: No stat called StatSignif."
Changing geom_signif
to stat_signif
results in Error: No geom called GeomSignif.
.
I don't have quite the latest version of R, but ggsignif
is "2017-04-26".
platform x86_64-redhat-linux-gnu
arch x86_64
os linux-gnu
system x86_64, linux-gnu
status
major 3
minor 2.2
year 2015
month 08
day 14
svn rev 69053
language R
version.string R version 3.2.2 (2015-08-14)
from ggsignif.
@wuffi, that is really strange. Could you please try to re-install the package, because it seems that ggplot cannot find the StatSignif
object.
If that does not help, you would have to try it on the latest version of R, because I really don't know what else could produce the error.
@Villete, the warnings you get from the wilcox.test
are not a problem, they just mean that an approximation had to be used, because the data values where not unique. See this thread for a more detailed discussion.
from ggsignif.
Hi const-ae,
Thanks a lot for your quick answer. Re-installing the package helped and it works now fine!
The package is really helpful and I think there is a need for it.
from ggsignif.
Related Issues (20)
- Error using facet_wrap & geom_signif : "Replacement has X rows..." HOT 2
- Customizing geom_signif with facet grid HOT 3
- Significance brackets HOT 1
- Figure out where the `WARNING`s and `NOTE`s in `R CMD check` are coming from HOT 1
- Manual vertical brackets do not work: "arguments imply differing number of rows" HOT 1
- Warning message: Ignoring unknown aesthetics: xmin, xmax, annotations, y_position HOT 3
- adding scale_y_log10 changes y-axis to a weird range
- geom_signif does not plot comparison on the facetted plot with free x scale HOT 2
- Where can we find the significance level in the ggplot object slots? HOT 1
- Rename default branch from `master` to `main` HOT 3
- CRAN release 0.6.4 HOT 3
- Correcting for multiple testing when using geom_signif HOT 5
- Feature request - add more distance between comparisons and data HOT 4
- geom_signif - all comparisons dissappear when one comparison has missings HOT 2
- Significance stars are misaligned when using "NS" as well
- ggsignif results don't match with anova significance HOT 1
- Use cross symbol when p <.10?
- what are * , ** , *** correspond if specific values by user is not given? HOT 1
- How do I hide the no significant (NS) comparisons?
- Adding significance bar on coupled boxplots
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ggsignif.