[R] How to draw figures in a graph?

2013-10-22 Thread halim10-fes
Hi All, Hope you guys are doing well. I am thinking of drawing some figures within a graph to make it more interesting. To make a graph more storytelling, like the attached one. I am looking for a couple of days but couldn't come up with any solution on how to do it with R. Any ideas will be

Re: [R] How to draw figures in a graph?

2013-10-23 Thread halim10-fes
Hi Patric, Thanks for your explanation and suggestions. I didn't know that it might happen. Sorry about that. A good lesson for the future post. Thanks again. Halim On Wed, 23 Oct 2013 21:00:28 +1300, Patrick Connolly wrote This is a request to anyone who starts a new subject to begin

Re: [R] raster package: merge/mosaic

2013-10-24 Thread halim10-fes
Hi, With the 'merge' function using different tolerance level, I've come up with a solution. For e.g. consider r1 and r2 as two raster layers, attributes are as follows: r1 - raster(xmx=-150, ymn=60, ncols=30, nrows=20) r1[]-1:ncell(r1) r1 class : RasterLayer dimensions : 20, 30, 600

[R] Problems dealing with matrices

2013-11-23 Thread halim10-fes
Dear R-friends, Hope you doing well. I've been trying to deal with the following problem for the couple of days but couldn't come up with a solution. It would be great if any of you could give some insight into it. I have three matrices like:

Re: [R] Problems dealing with matrices

2013-11-23 Thread halim10-fes
, Could you show your expected output?  It is a bit unclear from the description. On Saturday, November 23, 2013 2:00 PM, halim10-fes halim10- f...@sust.edu wrote: Dear R-friends, Hope you doing well. I've been trying to deal with the following problem for the couple of days but couldn't

Re: [R] Problems dealing with matrices

2013-11-23 Thread halim10-fes
2:00 PM, halim10-fes halim10- f...@sust.edu wrote: Dear R-friends, Hope you doing well. I've been trying to deal with the following problem for the couple of days but couldn't come up with a solution. It would be great if any of you could give some insight into it. I have three matrices

Re: [R] Problems dealing with matrices

2013-11-24 Thread halim10-fes
(1,0,0,0,0 ), nrow=5 ) vol - matrix( NA, nrow=5, ncol=length( volinp ) ) vol[ , 1 ] - dcmat %*% ( volmat + wt ) for ( idx in volinp[ -1 ] ) { vol[ , idx ] - dcmat %*% ( vol[ , idx-1 ] + idx * wt ) } On Sun, 24 Nov 2013, halim10-fes wrote: Please apologize me! Earlier I've sent a message

Re: [R] Problems dealing with matrices

2013-11-26 Thread halim10-fes
%*% ( vol[ , idx-1 ] + volinp[idx] * wt ) } identical(vol,vol1) #[1] TRUE A.K. On Sunday, November 24, 2013 7:16 AM, halim10-fes halim10- f...@sust.edu wrote: Hi Arun, OK, no problem. Thank you very much for your attention. I've posted an annex to my previous problem. I will appreciate

Re: [R] Problems dealing with matrices

2013-11-28 Thread halim10-fes
,Sylhet-3114, Bangladesh. Cell: +8801714078386. alt. e-mail: xo...@yahoo.com On Tue, 26 Nov 2013 20:21:14 -0800 (PST), arun wrote HI Halim, No problem. Regards, Arun On Tuesday, November 26, 2013 11:18 PM, halim10-fes halim10- f...@sust.edu wrote: Hi Arun, Thanks for your help

Re: [R] Problems dealing with matrices

2013-11-30 Thread halim10-fes
, 2013 3:57 AM, halim10-fes halim10- f...@sust.edu wrote: Hi, Sorry for continuous bothering. Continuum of the previous problem... I have the following matrices and vectors, dcmat-matrix(c(0.13,0.61,0.25,0.00,0.00,0.00,0.52,0.37,0.09,0.00, 0.00,0.00