On 16/02/15 13:36, Bingzhang Chen wrote:
Hi R users,
I have a problem on how to pass an extra argument to do. call:
The example codes are:
#
require(ggplot2)
plots = lapply(1:5, function(.x) qplot(1:10,rnorm(10), main=paste(plot,.x)))
On Feb 15, 2015, at 4:36 PM, Bingzhang Chen wrote:
Hi R users,
I have a problem on how to pass an extra argument to do. call:
The example codes are:
#
require(ggplot2)
plots = lapply(1:5, function(.x) qplot(1:10,rnorm(10),
Hi R users,
I have a problem on how to pass an extra argument to do. call:
The example codes are:
#
require(ggplot2)
plots = lapply(1:5, function(.x) qplot(1:10,rnorm(10), main=paste(plot,.x)))
require(gridExtra)
do.call(grid.arrange, plots)
3 matches
Mail list logo