Displaying 1 result from an estimated 1 matches for "histomatic".
2001 Jun 20
0
recordPlot usage: add snaps to a list.
I have trouble understanding the R list object and how to add objects
and get them out. I''m trying to collect snapshots with recordPlot and
replay them.
Got great help from everybody here yesterday on my histogram function,
works fine to make the pictures:
histomatic <- function (s1,s2,s3,var){
if (is.numeric (s2[[var]])) {
par(mfrow=c(3,1));
rz <- range(s1[[var]], s2[[var]], s3[[var]]);
breaks <- pretty(rz,40);
hist(s1[[var]],breaks=breaks,xlab=var,main="Baseline");
hist(s2[[var]], breaks=breaks,xlab=var,main="Randomi...