Comments (4)
Thank you for the suggestion!
I added a boolean in the print method for p1.
@ecoRoland, look right?
if (packageVersion("GGally") != "1.0.0") {
install.packages("GGally")
}
library(GGally)
library(ggplot2)
library(grid)
data(iris)
df <- data.frame(y = rnorm(100))
# updated for new version of ggpairs
p1 <- ggpairs(iris, mapping = aes(colour = Species))
p2 <- ggplot(df, aes(x=1:100, y=y)) + geom_line()
grid.newpage()
pushViewport(viewport(layout=grid.layout(1,2)))
vp1 <- viewport(
layout.pos.col=1,
layout.pos.row=1
)
vp2 <- viewport(
layout.pos.col=2,
layout.pos.row=1
)
pushViewport(vp1)
# use new boolean
print(p1, gridNewPage = FALSE)
popViewport()
pushViewport(vp2)
plot(p2, vp = vp2)
popViewport()
popViewport()
(Since it looks like you're doing complex plots, don't forget to check out the latest version of ggpairs! You can now submit your own custom functions!)
from ggally.
Great! Thank you.
from ggally.
merged into dev.
devtools::install_github("ggobi/ggally@dev")
from ggally.
on cran now. v1.0.1
from ggally.
Related Issues (20)
- ggpairs Inability to Filter Pairs of Values
- ggts axis breaks do not align between continuous and discrete variables
- ggcorr does not support "non syntactically valid" column names. HOT 2
- Warning after correlationPlot - FingerPro
- Warning message: The dot-dot notation (`..scaled..`) was deprecated in ggplot2 3.4.0. HOT 1
- New Maintainer HOT 2
- CRAN request HOT 1
- Example case in documentation is using deprecated features
- ggscatmat: wrong faceting with ncol > 9
- cannot coerce type 'closure' to vector of type 'character' HOT 1
- Allow parallel sets into parallel coordinates? HOT 1
- Migrate off reshape? HOT 5
- Release GGally 2.2.0 HOT 1
- ggcorr() suggestion, add option to provide custom labels for the variables
- ggally_cor errors out if number of samples is less than 3 rather than returning NA
- failure in basic ggpairs example with GGally 2.20/ggplot2 3.4.4.9000/r-devel
- The custom functions don't Work in GGally HOT 1
- ggally_cor: argument "use" is meaningless
- Test suite error: could not find function "asIgraph" HOT 3
- Adding legend to ggpairs
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 ggally.