Displaying 2 results from an estimated 2 matches for "img521".
Did you mean:
img523
2010 Nov 19
0
Ggplot and irregular timeseries
...plot the days I just dropped. The
ggplot generated outputs for comparison purposes can be found here
(http://img269.imageshack.us/img269/121/ggplotweekends.png) where the
upper image is for the regular timeseries and the bottom one is for
the irregular one. Datasets for both the charts are
(http://img521.imageshack.us/img521/6729/regularts.png) and
(http://img517.imageshack.us/img517/8651/irregularts.png)
correspondingly. The R code used to generate them is
dates<-seq(ISOdate(2010,11,1), by = "day", length.out = 19)
rets<-xts(rlnorm(19),order.by=dates)
# the following line drops w...
2011 Jan 25
0
Map an Area to another
...x e[-1,1] ye[-1,1]
I really didn't know how to implement that, so with help I got from a list member I tried to use FindInterval for the x,y plane. I am sure that it might be an easier way to do that so please do suggest it. If there is not then continue reading.
In the picture below:
http://img521.imageshack.us/f/maparea.gif/
You can see the matrix presented above placed inside the x e[-1,1] ye[-1,1] which from now on these are the results of the f(x,y) function.
I.e f(-0.5,0.3) will return the appropriate cell (x,y) index.
As I told you I tried using the findInterval to get for the f(x,y)...