Displaying 3 results from an estimated 3 matches for "plotcols".
Did you mean:
plotcol
2011 Dec 07
1
Help! I couldn't put multiple qplot on the same page...
...//stackoverflow.com/questions/1249548/side-by-side-plots-with-ggplot2-in-r
my.multiplot <- function(..., plotlist=NULL, cols) {
require(grid)
# Make a list from the ... arguments and plotlist
plots <- c(list(...), plotlist)
numPlots = length(plots)
# Make the panel
plotCols = cols # Number of columns of plots
plotRows = ceiling(numPlots/plotCols) # Number of rows needed,
calculated from # of cols
# Set up the page
grid.newpage()
pushViewport(viewport(layout = grid.layout(plotRows, plotCols)))
vplayout <- function(x, y)...
2009 Oct 31
3
Plots with k-means
Hi,
I'm doing a k-means cluster with 6 clusters and 15 variables. Any
suggestions on how to plot the results?
I've tried the standard xy plot, but couldn't get much of it.
Thansk in advance,
Iuri.
2004 Feb 08
2
substitute, eval, quote and functions
Hi,
i am working with large data frames with many dependend variables. I
want to write some functions that will allow me to quickly select
variables from the frame and plot them in various colors depending on
factor columns, possibly selecting rows according to factor conditions.
In order to do this in a nice function, i need to understand how to work
with a column name in the body of a