Displaying 2 results from an estimated 2 matches for "cplot".
Did you mean:
plot
2017 Jun 04
0
plot command error message
I tried to plot a clustered linear regression model with the cplot command in R (code below). Leaflet is a binary variable (I know logit would be better), partisan is nummeric variable (0-4) and partisan_mis a dummy (0,1). As you can see it is clustered around two variables: around individuals and around the specific survey. When I try to run the cplot command I a...
2011 Sep 05
1
ggplot2-grid/viewport and PNG
...graphs as pdf:
pdf("j:/mix.pdf", width = 18, height = 16)
grid.newpage()
pushViewport(viewport(layout = grid.layout(3,1)))
vplayout <- function(x, y)
viewport(layout.pos.row = x, layout.pos.col = y)
print(Aplot, vp = vplayout(1, 1))
print(Bplot, vp = vplayout(2, 1))
print(Cplot, vp = vplayout(3, 1))
dev.off()
How can I save it in PNG and maintain the same graph structure?
Thanks
--
View this message in context: http://r.789695.n4.nabble.com/ggplot2-grid-viewport-and-PNG-tp3790866p3790866.html
Sent from the R help mailing list archive at Nabble.com.