[R] Bucketing Data

2011-10-18 Thread Ben Wilkinson
I am looking for a way to bucket data in 2 dimensions using a weighting that will linearly allocate based on the proximity of the reference value. I'm sure the functionality probably already exists but couldn't find an example: Example Data Yrs,strike,value 0.75,105,100 1.25,102.5,200 Time Buck

Re: [R] LatticeExtra Parallel

2010-07-06 Thread Ben Wilkinson
Thanks - that helps put the data on the same scale but it doesn't actually add the scale as it still shows min and max on the axis. On Sun, Jul 4, 2010 at 10:49 PM, Deepayan Sarkar wrote: > On Sun, Jul 4, 2010 at 12:59 PM, Ben Wilkinson > wrote: > > I have put together a chart

[R] LatticeExtra Parallel

2010-07-04 Thread Ben Wilkinson
I have put together a chart of 1,000 monthly data series using parallel and I really like the way it displays the data. Is there a way to achieve something similar in terms of display using the actual scale ( consistently across all the data) as opposed to min/max ? Thanks [[alternative H

[R] Label Values in levelplot

2010-06-25 Thread Ben Wilkinson
I am trying to add labels equal to the value in a levelplot. I believe that panel may be the way to go but cannot understand the examples. In the following example: X,Y,Z A,M,100 A,M,200 B,N,150 B,N,225 I would like to label each of the rectangles 100,200,150 and 225 and colour according to the

[R] Label Values in levelplot

2010-06-24 Thread Ben Wilkinson
I am trying to add labels equal to the value in a levelplot. I believe that panel may be the way to go but cannot understand the examples. In the following example: X,Y,Z A,M,100 A,M,200 B,N,150 B,N,225 I would like to label each of the rectangles 100,200,150 and 225 and colour according to the