Comments (2)
Hi Mark,
You can customize the legend and change the orientation by overwriting some ggplot specifications:
library(ggplot2)
#> Warning: package 'ggplot2' was built under R version 4.2.2
library(correlation)
mtcars |>
correlation() |>
summary() |>
plot() +
scale_fill_gradient2(low = "purple", high="green") +
scale_y_discrete(limits = rev)
#> Scale for fill is already present.
#> Adding another scale for fill, which will replace the existing scale.
#> Scale for y is already present.
#> Adding another scale for y, which will replace the existing scale.
Created on 2023-05-08 by the reprex package (v2.0.1)
Hope that helps!
from correlation.
Brilliant, this is exactly what I was looking for. The next question is: I then plotted the correlation for some of the relationships using:
plot(cor_test(ROM_PF_left, "PF_LLLI","PF_LLSJ")) +
theme_bw()
I am trying to increase the marker size and color, but nothing seems to alter the marker size. I tried using "cex=3" but this was not effective. Are there any suggestions?
I also tried creating another layer using "geom_point", which works, but if I change the alpha level, the dots from the original layer are visible.
from correlation.
Related Issues (20)
- CRAN check failures HOT 3
- Create GitHub release corresponding to CRAN release
- Costumizing priors HOT 1
- Multilevel correlation changes when more correlations are computed HOT 6
- Suggestion of new function: `cormatrix_to_excel()` HOT 4
- Factors don't always work as intended
- Multilevel rank correlation HOT 1
- refactoring the `correlation` package HOT 6
- Package version doesn't follow easystats' versioning conventions HOT 1
- Bayesian partial correlations
- bayestestR HOT 2
- X
- Update documentation to discuss handling of missing values HOT 1
- specify adjustment variable HOT 1
- Time series auto- and cross-correlations HOT 2
- A new correlation coefficient (Chatterjee) HOT 8
- Expanding Kendall's Tau to include Tau a and Stuart's c
- Update `{correlation}` on CRAN to prevents user from seeing deprecation warnings HOT 5
- Fix CRAN note HOT 2
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 correlation.