Re: [R] challenge in using layout with r bind function

2009-08-16 Thread John Kane
ets such as matrices or data.frames Example (mat1 <- matrix(1:9, ncol=3)) (mat2 <- matrix(11:19, ncol=3)) rbind(mat1,mat2) --- On Sun, 8/16/09, RAVI KAPOOR wrote: > From: RAVI KAPOOR > Subject: [R] challenge in using layout with r bind function > To: r-help@r-project.org > R

Re: [R] challenge in using layout with r bind function

2009-08-16 Thread baptiste auguie
Hi, Try this, layout(matrix(c(1,1,2,3), ncol=2, byrow=T)) hist(1:10) plot.new()# empty space plot(1:10) HTH, baptiste 2009/8/16 RAVI KAPOOR : > Hi > > Can any one explain how i can divide the graphic window > >  into two rows and two columns  -- allocate figure 1 all of row 1 and > allocate fi

[R] challenge in using layout with r bind function

2009-08-16 Thread RAVI KAPOOR
Hi Can any one explain how i can divide the graphic window into two rows and two columns -- allocate figure 1 all of row 1 and allocate figure 2 the intersection of column 2 and row 2 Actually through above also want to understand the use of rbind() function that is used in call to layout() T