Really quick question... how do you get multiple histograms in R

gopunk

Lifer
Jul 7, 2001
29,239
2
0
whenever i do it, it just loads over the previous one... how can i get just two different ones?
 

FatAlbo

Golden Member
May 11, 2000
1,423
0
0
par( mfrow=c(A,B) )

That'll force R to draw AxB graphs before clearing the graph screen.

Do a help on dev.print() if you want to spit the graphs to a file.
 

gopunk

Lifer
Jul 7, 2001
29,239
2
0
Originally posted by: FatAlbo
par( mfrow=c(A,B) )

That'll force R to draw AxB graphs before clearing the graph screen.

Do a help on dev.print() if you want to spit the graphs to a file.

thanks!!! it's so annoying how it draws over the other by default :p