Comments (4)
@yech1990 Hmm, it is true that this is a bit of an inconsistent behavior on ggstatsplot
's part, but I've deliberately not included those arguments for ggscatterstats
because there are only two colors, which are already being specified by arguments xfill
and yfill
.
One possible thing I can do is change xfill
and yfill
defaults to NULL
and as long as they are not specified, 2 colors from a given package
and palette
can be retrieved. Does that like a reasonable approach?
P.S. ggcorrmat
doesn't have these arguments either.
from ggstatsplot.
Yeah, this is something that I want to implement for sure. But this will not be part of 0.0.6
release. Probably 0.0.7
or 0.0.8
.
from ggstatsplot.
Setting either xfill
or yfill
to NULL
will now deactivate manual specification of colors and package
and palette
arguments will come into effect.
ggstatsplot::ggscatterstats(
data = mtcars,
x = wt,
y = mpg,
xfill = NULL,
package = "wesanderson",
palette = "Royal1"
)
#> Warning: The plot is not a `ggplot` object and therefore can't be further modified with `ggplot2` functions.
#>
Created on 2018-09-29 by the reprex package (v0.2.1)
from ggstatsplot.
Thanks your very much, @IndrajeetPatil .
It is reasonable to pass color palette in these way.
I were confused with the usage of ggscatterstats
at the beginning. I don't realized that there is only two colors in the scatter plot.
I mistakenly thought ggscatterstats
can visualize multiple group of data in a single figure as the example below, in which case color palette is of great importance.
from ggstatsplot.
Related Issues (20)
- Significance is indicated by “*” instead of a specific value HOT 1
- Simpler statistical results HOT 3
- Pairwise comparisons not showing HOT 3
- "Removing" the violin plot from `ggbetweenstats` does not really remove it, but rather adds a thin line on the plot. HOT 5
- ggpiestats Cramer's V upper confidence intervals is always 1, and it shouldn't be HOT 2
- packages not installing in Rstudio HOT 1
- Invalid class "ddenseModelMatrix" object HOT 1
- Error in `filter()`: ! In argument: `!is.na(x)`. Caused by error: HOT 1
- is there a way to modify the whisker portion of `ggbetweenstats`? HOT 1
- Change in palette HOT 1
- Automatic color change to violin and box plot (from black -> orange) HOT 1
- How to export data from grouped extract_stats efficiently?
- Second Confidence Interval Always 1.00 For K-W? HOT 5
- Option for Pairwise Effect Sizes in Caption HOT 1
- ggbetweenstats Hedge's g change it to Cohen's d HOT 1
- Update outdated docs
- Add details to `ggdotplotstats()` regading the statistic of interest
- Decimals won't work HOT 12
- Issue: manually chosen colors do not work for ggbetweenstats HOT 1
- Highlight some points in violin plots HOT 1
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 ggstatsplot.