search for: printthis

Displaying 2 results from an estimated 2 matches for "printthis".

2010 Dec 22
2
how to pass object "members" in functions
Hello, This is an R-syntax question when attempting to manipulate/access objects when passed to a function. I have a function attempting to just print values attached to an argument object. For example, printThis <- function(obj, parm2, parm3) { print(obj.stuff1) print(obj.stuff2) } where I've assigned stuff1 and stuff2 to the actual object passed as such actualObject.stuff1 <- c("list","of","something") actualObject.stuff2 <- c("list","of&qu...
2002 May 22
5
plotting a 1000 plots?
I would like to plot lots of plots (2x2 plots) of a set of data for many sets. I can do it just fine for one set of data, but I would like to generate a small mountain of plots for others to examine. Basically, I would like to generate the same par( mcol=c(2,2) ) plot for about 1000 datasets. I've been iterating through them in the plot window, but I would like to send all the plots to a eps