[R] image.plot results in different colors than legends

2011-02-22 Thread Manussawee Sukunta
To R community: I've been pulling my hair for the past few days over this issue now, and I may be at the point where I just can't spot my error. So I thought to reach out to the community and hope someone could kindly help me. I'm trying to create a correlation matrix and plot it. However, I'm

Re: [R] image.plot results in different colors than legends

2011-02-22 Thread Manussawee Sukunta
By luck I was able to solve my own problem! (Big phw.) As a reference, I simple change my value of z in image.plot to be X[,n:1], where X = t(lower). Everything else remains the same. Cheers, Manussawee On Tue, Feb 22, 2011 at 10:03 AM, Manussawee Sukunta msuku...@illinoisalumni.org

[R] Using which function with xts

2010-07-14 Thread Manussawee Sukunta
Hi everyone: I did a search over the internet and still couldn't find answer to my problem. I have a series of prices that I'm trying to clean up by removing any prices greater than 3 times the standard deviations. So, say that prices are: price1 2010-06-18 08:00:06.916

Re: [R] Embed function strips out date index

2010-07-01 Thread Manussawee Sukunta
...@gmail.com wrote: On Wed, Jun 30, 2010 at 4:32 PM, Manussawee Sukunta msuku...@illinoisalumni.org wrote: Hi, I'm having especially hard time today and couldn't find any clue/answer through the internet.  I hope you can help. I'm in a process of writing a script to estimate error correction

[R] Embed function strips out date index

2010-06-30 Thread Manussawee Sukunta
Hi, I'm having especially hard time today and couldn't find any clue/answer through the internet.  I hope you can help. I'm in a process of writing a script to estimate error correction model, and I was following an example in Bernhard Pfaff's Analysis of Integrated and Cointegrated Time Series

Re: [R] Embed function strips out date index

2010-06-30 Thread Manussawee Sukunta
. Jonathan On Wed, Jun 30, 2010 at 2:32 PM, Manussawee Sukunta msuku...@illinoisalumni.org wrote: Hi, I'm having especially hard time today and couldn't find any clue/answer through the internet.  I hope you can help. I'm in a process of writing a script to estimate error correction model